Draft-js: Using the Chinese input method will result in the loss of the selected inline style. such as bold, italic

Created on 4 Nov 2019  路  8Comments  路  Source: facebook/draft-js

Do you want to request a feature or report a bug?

bug

What is the current behavior?

Entering Chinese will cause the selected inline style to be lost.

but Draft.js v0.10.5 is ok.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

version: 0.11.0

browser: chrome 77

issue

All 8 comments

same here...

@day-scene are you on 0.11.0 too?

@mrkev yes, 0.11.3

0.11.4 is ok

Sweet! 0.11.4 had a few bugfixes. This bugfix also just came in, and will be included in 0.11.5: https://github.com/facebook/draft-js/commit/ad8374d278507ae73dceffd9bbbcede398f849e3

Setting the style (such as bold, italics) first in the blank line, and then entering the Chinese style will be lost, but English is normal

I've tried 0.11.3~0.11.7 ,but none of them works

refer to issues2745, v0.10.5 really works !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flarnie picture flarnie  路  3Comments

roundrobin picture roundrobin  路  3Comments

vierno picture vierno  路  3Comments

jackmatrix picture jackmatrix  路  3Comments

abeq picture abeq  路  3Comments