You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Unable to move the cursor with the left and right buttons.
contentState.hasText() return false
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
IME (have composition mode. Like Traditional Chinese (Cangjie) IME Keyborad.)
Input key 'abc' > '日月金' but not choosing the word and switch to Cangjie(ENG) input any content(like 'xyz').
ctrl+a > delete.
> Input any content. Now, bug reproduce.
Able to move the cursor with the left and right buttons.
contentState.hasText() should return true
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Which versions of Draft.js, and which browser: 0.10.5
OS are affected by this issue: Windows 10 1903
Did this work in previous versions of Draft.js: No
The text was updated successfully, but these errors were encountered:
I am facing the same issue issue.
when you try to type "안녕하세요" (It's korean)
Its not detected until non-korean char is detected ( ex: space, or alphabet).
I am using Draft JS 0.11.3
Do you want to request a feature or report a bug?
bug
What is the current behavior?
contentState.hasText()
returnfalse
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
IME (have
composition mode
. Like Traditional Chinese (Cangjie) IME Keyborad.)ctrl+a > delete. > Input any content. Now, bug reproduce.
This error can be reproduced at https://www.facebook.com
What is the expected behavior?
contentState.hasText()
should returntrue
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Which versions of Draft.js, and which browser: 0.10.5
OS are affected by this issue: Windows 10 1903
Did this work in previous versions of Draft.js: No
The text was updated successfully, but these errors were encountered: