joemccann / dillinger

The last Markdown editor, ever.
https://dillinger.io
MIT License
7.9k stars 1.1k forks source link

Some unicode characters mess up text cursor #818

Closed Devaniti closed 2 years ago

Devaniti commented 2 years ago

Using this characters ↑←↓→ mess up position of text cursor in edit field (haven't tested all unicode characters, more characters may trigger same bug) Cursor visual position doesn't match up with real cursor position e.g. for line ↑←↓→ - Some Text if cursor is visually after character in reality typing will result in characters appearing after - character

joemccann commented 2 years ago

This is an Ace Editor issue, which Dillinger depends on.