editor-js / list

Advanced List tool for the Editor.js.
MIT License
48 stars 47 forks source link

Line breaking behaving weird for CJK language #16

Closed hyun-park closed 12 months ago

hyun-park commented 3 years ago

Explain the issue

When I try to press enter to break the line, it behaves weird for CJK language.

Expected behavior

A new empty line should be created.

How to reproduce

  1. Start typing any CJK language. (for here, Korean.)
  2. At the end of the word, (you'll see the underline below the word) press enter.
  3. Two rows are created one with the end of the word. nested_list_bug_Korean