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
When I have editor content that includes bolds and new lines, and I highlight all the text (via cursor or Control + A), then I press a key in order to replace the text, Quill throws an error, ParchmentError: [Parchment] Unable to create [object HTMLElement] blot. The stack trace is as follows:
Upon further analysis, it looks like query(input) is returning a Text element inside Firefox (where the behaviour is correct). However, query(input) is returning <b>X</b> in Chrome, which leads to a logic path that throws an error.
When I have editor content that includes bolds and new lines, and I highlight all the text (via cursor or Control + A), then I press a key in order to replace the text, Quill throws an error,
ParchmentError: [Parchment] Unable to create [object HTMLElement] blot
. The stack trace is as follows:Steps for Reproduction
Visit http://beta.quilljs.com/playground/
Paste the following into the editor.
Select all the text (with cursor or by pressing Control + A)
Press a key (e.g. 'x') in order to replace the selected text
Observe that the error is thrown.
Expected behavior:
The selected text should be replaced with whatever you type.
Platforms: [ex. Chrome 52 on Mac 10.10.5]
Version: 1.0.6.Beta
The text was updated successfully, but these errors were encountered: