Error inserting text
Author: mikstimeCreated Jul 21, 2021Updated Nov 14, 2022
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
App crashes when multiple line breaks are pasted
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Open draftjs.org editor
Press
Entermultiple times in editorCopy text
Reload page
Insert text in editor
What is the expected behavior?
Text is pasted with no error
Which versions of Draft.js, and which browser / OS are affected by this issue?
MacOs 11.4, latest chrome (91.0.4472.114), safari (14.1.1 (16611.2.7.1.4)), draft.js (0.11.7)
Source: facebookarchive/draft-js