-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Pressing enter key doesn't make new line. #311
Comments
I tested more:
And I found new bug. Chrome, FireFox and Opera are even bad at removing Below is the full-step writing Korean. ㄱ -> 가 -> 갑 -> 값 When I try to remove first-step word, it need to press delete 3 times. It happens production of Facebook Note and Messenger. |
Are you using OSX El Capitan? |
@hellendag Yes, it is latest version |
Thanks. There are some known issues with Korean composition that appear to have been introduced by El Capitan. I'll follow up here with details. |
@hellendag I saw it is working well at Windows. It can't be fixed in OSX El Cap? |
Here's the crux of the issue. See the screenshot below, the result (in Chrome 49) of testing on https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test.html with the following steps:
The events occur from the bottom (oldest) to the top (newest). Note the The Draft composition handler expects that deletions do not preserve the deleted character in the We may be able to devise a workaround, but the problem here would be that we won't know the difference between a committed composition and a deleted one. When The most appropriate thing here is probably for us to file an issue with Apple. |
@hellendag I see. Even if I pressed delete, |
Hmm. Something is very wrong with Korean input on El Capitan. I just tried this in Safari and ran into a bunch of different weird event sequences when switching language to Korean or reloading the page, including both yours and mine.
|
@hellendag IMHO, biggest problem using draft.js with Korean is 'enter key event problem' which already mentioned by @beingbook. |
Hi - following up on this, it sounds like the original bug reported was an issue with Korean IME in all browsers in El Capitan. The only action item is:
Since we don't have a solution for fixing this within Draft I'm closing this issue. Please reopen if you would like to propose a work-around. |
I'm new to draft-js. I found a problem while testing and using it.
Because this rich text editor doesn't make new line in Korean.
I have to press enter twice as aforementioned. It's really inconvenience.
This situation is also being happened in Facebook Note and Messenger.
If this was intended to prevent mistake during type, It should be fixed or changed.
When user press enter, line should be changed.
My test environments was OSX latest, Chrome latest.
The text was updated successfully, but these errors were encountered: