decap-cms
decap-cms copied to clipboard
2 Issues: Cursor jumping to end of text line; strange character inserted after first character in new text line
This issue is similar to https://github.com/netlify/netlify-cms/issues/4539
Issue 1: Using Chrome (106.0.5249.30) or Edge (105.0.1343.33) browsers, when editing an existing line of text, if the cursor is placed anywhere except for the end of the text line, after typing the first character, the cursor jumps to the end of the line making it very difficult to edit existing text. This does not appear to be an issue in Firefox (105.0 (64-bit))
Issue 2 Additionally, it appears that a special UTF character is being inserted into the text string which is not visible from the Netlify CMS editor but is flagged by the editor as a misspelled word and visible as a special character when inspecting the changes in VS Code. This was discovered because the first word typed in every line showed as as misspelled word even when it was not.
We're unsure if these 2 bugs are related or not so we've logged them together.
issue 1 related #6557
Also noting some strange characters but havent looked into this yet, just discovered after looking at this issue
Solved in Decap 3