Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

when input some IME punctuation, the editor crashs #3178

Open
psybor opened this issue Nov 2, 2022 · 0 comments
Open

when input some IME punctuation, the editor crashs #3178

psybor opened this issue Nov 2, 2022 · 0 comments

Comments

@psybor
Copy link

psybor commented Nov 2, 2022

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

bug

What is the current behavior?

draft-js输入法

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/gmertk/e61z7nfa/.

  1. input "。。"
  2. press enter to swich to line two.
  3. input "。。"
  4. press ctrl + z to perform an undo.
  5. crash.

What is the expected behavior?

not crash

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

draft-js: 0.11.7.
os: windows 10.
broswer: latest chrome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant