Editor doesn't support simultaneous `delete/insert` events
knpwrs opened this issue · 2 comments
knpwrs commented
sunny-b commented
Thanks for this, that's definitely an oversight on our part.
The way we have it set up right now is we detect whenever CodeMirror sends an "insert" or "delete" event. This is an edge case where it's technically an insert and delete at the same time. The solution will probably involve detecting this type of operation when an "insert" event occurs or disabling it entirely. At least for now. Less user friendly but maintains consistency.
sunny-b commented
Fixed