Sanity: Cursor jumps to start of line when writing in Korean

Created on 23 Oct 2020  路  2Comments  路  Source: sanity-io/sanity

Describe the bug
When writing within a block rich text editor in Korean, the cursor jumps to the start of the line at seemingly random intervals. Sometimes, the rich text editor even starts adding characters from right to left. This makes it very hard to write content.

To Reproduce
Steps to reproduce the behavior:

  1. Create a type: 'block' rich text editor.
  2. Start writing in Korean.
  3. The cursor jumps to the start of the line while writing.

Expected behavior
The cursor should not jump to the start of the line while writing, just as when writing in English.

Screenshots
korean-cursor-bug

Which versions of Sanity are you using?
@sanity/cli 2.0.5 (up to date)
@sanity/base 2.0.7 (up to date)
@sanity/components 2.0.7 (up to date)
@sanity/core 2.0.5 (up to date)
@sanity/default-layout 2.0.7 (up to date)
@sanity/default-login 2.0.5 (up to date)
@sanity/desk-tool 2.0.8 (up to date)
@sanity/vision 2.0.5 (up to date)

What operating system are you using?
macOS Catalina v10.15.7

Which versions of Node.js / npm are you running?
npm 6.14.8
Node.js v12.18.3

Additional context
None

Bug UX Portable Text

Most helpful comment

Hi and thank you for reporting! I also experienced this when writing Japanese in the editor 馃様 We will look into this!

All 2 comments

Hi and thank you for reporting! I also experienced this when writing Japanese in the editor 馃様 We will look into this!

@vicbergquist Hello! Would it be possible to gain any hints on when this issue might be fixed? We really love your product but this issue makes it unusable for our content writers馃槶 Currently, we are writing our content first in google docs and then copy & paste to bypass the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mikaelkolkinn picture mikaelkolkinn  路  5Comments

camjc picture camjc  路  4Comments

chanp-ark picture chanp-ark  路  3Comments

zanedev picture zanedev  路  4Comments

davesag picture davesag  路  6Comments