ํ์
In Firefox, when deleting the last character before a non-editable element in a contenteditable div, the caret correctly stays adjacent to the remaining content instead of jumping to the end.
์ฌํ ์์
- Focus on contenteditable element.
- Text contains non-editable element (e.g., โHello @user againโ).
- Delete character just before the non-editable element (Backspace or Delete key).
๊ด์ฐฐ๋ ๋์
- Correct behavior: Caret stays adjacent to the non-editable element
- No jumping: Caret doesnโt jump to end of editor
- User can continue typing: Can immediately type next character
- Works correctly: Firefox handles deletion properly
์ฐธ๊ณ ์ฌํญ
This is a control case demonstrating that the issue is Chrome-specific and Firefox works correctly.