Some pasted content crashes editor #2008
Labels
[Feature] Rich Text
Related to the Rich Text component that allows developers to render a contenteditable
[Type] Bug
An existing feature does not function as intended
Steps to Reproduce
Expected Behavior
Content is pasted.
Current Behavior
Editor crashes.
Uncaught TypeError: text.replace is not a function
(Note this is a core file, but the same error does not occur in the current post editor)
Possible Solution
It's not yet clear to me whether there are hidden characters in the text that are causing issues. Pasting it into a plain text editor, then re-copying, then pasting into editor works as expected.
The text was updated successfully, but these errors were encountered: