editor.js
editor.js copied to clipboard
fix(caret): Improve getCaretNodeAndOffset to handle non-editable element
fix #2852
- Add handling for contenteditable='false' elements
- Implement findFirstEditableTextNode helper function