codex-team / codex-team/editor.js
Caret API doesn't seem to work after Block API Update
Open
bug
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
After running blocks.update(..), and running the blocks.caret.setToBlock(...) or any caret function for that matter, it does not focus on the editor or set the caret at all. If the caret API is run after blocks.insert() then it works fine and as expected. This has only changed behaviour after the EditorJS 2.8 update. Any idea if theres a workaround for this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.