Web-stories-wp: Editor crashing when writing in Japanese

Created on 19 May 2020  ·  4Comments  ·  Source: google/web-stories-wp

Bug Description

I wrote some text in Japanese, the editor crashed. :'(

Expected Behaviour

Don't want it to crash.

Steps to Reproduce

See video.

Screenshots

Editor crashing when writing JP text.zip


_Do not alter or remove anything below. The following sections will be managed by moderators only._

Acceptance Criteria

QA Instructions

  1. Add a text field
  2. Click to enter edit mode
  3. Use the Mac OS X built-in Hiragana keyboard
  4. Type the characters "kon" and press space
  5. Observe that Japanese characters are correctly inserted rather than the whole editor crashing.
Text Internationalization (I18N) P1 Prometheus Bug Passed

All 4 comments

Which tool are you using for that? Looks like a Chrome extension or perhaps Google Input Tools.

Which tool are you using for that? Looks like a Chrome extension or perhaps Google Input Tools.

Just my mac's hiragana input
image

I used the Mac OS X built-in Hiragana keyboard and wrote types in roman
characters "kon" and pressed the space bar, which gets it to コン
I was trying to type konnichi こんにち.
Hope that helps?

On Mon, May 25, 2020 at 1:31 PM Beto Muniz notifications@github.com wrote:

Trying to reproduce the issue, I was not able to input the same character
of the video and crash the editor as described in the issue description.
Can you please share with me the input used, @o-fernandez
https://github.com/o-fernandez?

Anyway, typing some Japanese characters from "Hiragana" keyboard, it
reported console errors and did not persist the respective Japanese
characters typed. It seems a draftjs known issue, which I am looking to
workaround.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/web-stories-wp/issues/1836#issuecomment-633662028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGFBLPTK37TWVUYOHWPW5DRTKTN7ANCNFSM4NEQHUUQ
.

verified in QA image.png

Was this page helpful?
0 / 5 - 0 ratings