codex-team / codex-team/editor.js
[Bug] Inline toolbar does not change its position after editing the text
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
If you end the selection in the middle of a word, and then delete this selected text, the toolbar does not change its position and does not hide.
If, for example, enter a large text, then select and delete all of it, the page will remain long - due to the fact that the position of the toolbar will be style="top: xxxx px;"
Steps to reproduce:
1. Go to https://codepen.io/bertn/pen/WNOvber?editors=1111
2. Insert text of 10-12 lines
3. Select text up to the first line in the middle of a word
4. Press backspace
Expected behavior:
Inline toolbar changes its position and disappears
Screenshots:
Select text

Delete text

When inserting large text and deleting it


Editor.js version: 2.22.2
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.