instant-smart-quotes icon indicating copy to clipboard operation
instant-smart-quotes copied to clipboard

Cursor position jumps to beginning of text field (div with contenteditable param) after line break or emoji insert

Open Anatoly-IVANOV opened this issue 3 years ago • 2 comments

Starting sometime end of 2020, your JS code does not longer maintain the cursor position after a Shift+Enter line break — the cursor jumps to the beginning of text field or div with contenteditable set to true.

Also happens with emoji insertion, as reported earlier by @Serhat ATALAY.

Rendering an otherwise fantastic extension unuseable for longer text entry, unfortunately.

Ping me for any debug info, I'm a JS dev as well.

Anatoly-IVANOV avatar Feb 26 '21 19:02 Anatoly-IVANOV