Joplin version: 1.0.227 (Same behavior on 1.0.224 as well)
Platform: macOS
OS specifics: Version 10.15.5
insert mode by pressing i. Cursor changes from block to vertical line to denote this.Multiple delete keypresses should have deleted multiple characters.
Not able to attach logfile as it seems to have names etc for my notes which have work related data. Please let me know if I can create a reduced version somehow to avoid adding such info.
Anything in the console? https://joplinapp.org/debugging
The issue happens in Editor.tsx when new props are received. The current implementation sets all necessary options and it looks like Codemirror has a bug where setting the keyMap (even if it hasn't changes) put's the vim editor in an unknown state. I'll follow up with a pull request that splits all the different options into different useEffect calls.
Most helpful comment
The issue happens in Editor.tsx when new props are received. The current implementation sets all necessary options and it looks like Codemirror has a bug where setting the
keyMap(even if it hasn't changes) put's the vim editor in an unknown state. I'll follow up with a pull request that splits all the different options into differentuseEffectcalls.