decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

2 Issues: Cursor jumping to end of text line; strange character inserted after first character in new text line

Open TownCloudDev opened this issue 2 years ago • 2 comments

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.

image

image

TownCloudDev avatar Sep 15 '22 21:09 TownCloudDev

We're unsure if these 2 bugs are related or not so we've logged them together.

TownCloudDev avatar Sep 15 '22 21:09 TownCloudDev

issue 1 related #6557

Also noting some strange characters but havent looked into this yet, just discovered after looking at this issue image

wing5wong avatar Sep 18 '22 21:09 wing5wong

Solved in Decap 3

martinjagodic avatar Aug 25 '23 09:08 martinjagodic