mobiledoc-kit icon indicating copy to clipboard operation
mobiledoc-kit copied to clipboard

Cursor is placed at the start of the line when typing special characters

Open kiwicopple opened this issue 8 years ago • 3 comments

Note: using version 0.10.19

If the first letter in a new paragraph is a character like "#" or "-", after the user has typed the symbol the cursor is placed at the start.

Steps to replicate

  1. In an editor, type the symbol "#"
  2. Next, type a letter "a"

The expected output in the editor should be "#a", however it is actually "a#"

kiwicopple avatar Sep 10 '17 04:09 kiwicopple

@kiwicopple Thanks for reporting. I can reproduce the bug and it seems to be caused by my own changes in #575. Looking into it now!

YoranBrondsema avatar Sep 10 '17 08:09 YoranBrondsema

#582 reverts the changes and I added some more info there!

YoranBrondsema avatar Sep 10 '17 09:09 YoranBrondsema

Thanks for the speedy fix @YoranBrondsema !

kiwicopple avatar Sep 11 '17 00:09 kiwicopple