Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parchment Error thrown when trying to replace text that has an explicit font set #783

Closed
clemmy opened this issue Jul 6, 2016 · 0 comments

Comments

@clemmy
Copy link

clemmy commented Jul 6, 2016

When I highlight all the text (via cursor or Control + A), change the font, then press a key in order to replace the text, Quill throws an error, Uncaught ParchmentError: [Parchment] Unable to create [object HTMLFontElement] blot. The stack trace is as follows:

create  @   quill.js:929
(anonymous function)    @   quill.js:568
ContainerBlot.update    @   quill.js:561
FormatBlot.update   @   quill.js:1084
(anonymous function)    @   quill.js:1503
ScrollBlot.update   @   quill.js:1500
update  @   quill.js:5759
(anonymous function)    @   quill.js:1399

Steps for Reproduction

  1. Visit beta.quilljs.com
  2. Highlight all text
  3. Change font to monospace
  4. Press any key to replace the text

Expected behavior: The selected text should be replaced with whatever you type.

Actual behavior: An error is thrown.

Platforms: Chrome 52 on Mac 10.10.5

Version: 1.0.6.Beta

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

No branches or pull requests

1 participant