editor.js
editor.js copied to clipboard
Fix issues with selected blocks
Issues with block selection
- When multiple blocks are selected, keystroke is duplicated.
Shift + printable keydoesn't replace selected blocks.
Solutions
- Prevent content insertion at the caret position unless the typed key is
Enteror an unrecognized key. - Treat
Shift + printable keyas regular text input rather than a shortcut.