codex-team / codex-team/editor.js
renderFromHTML is not awaiting clear() method
Open
bug
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
renderFromHTML is not awaiting clear() method.
So rendering is started during async clear execution that can cause incorrect results.
Steps to reproduce:
`await this.api.renderFromHTML();`
Expected behavior:
Internal logic should await clear() method before star rendering blocks
Device, Browser, OS: any
Editor.js version: 2.28.2
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.