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

Toolbar isn't reset when editor is out of focus #810

Closed
jacobmllr95 opened this issue Jul 21, 2016 · 0 comments
Closed

Toolbar isn't reset when editor is out of focus #810

jacobmllr95 opened this issue Jul 21, 2016 · 0 comments

Comments

@jacobmllr95
Copy link
Contributor

jacobmllr95 commented Jul 21, 2016

When the content of the editor gets reset the toolbar styles should be reset too. This works as long as the editor has focus. When the editor is out of focus the toolbar isn't reset.

See also: #446, #457

Steps for Reproduction

  1. Visit http://beta.quilljs.com/
  2. Highlight the first word in the editor (Quill)
  3. Format it bold
  4. Click somewhere outside the editor
  5. Open the browser console
  6. Execute quill.setText('');

Expected behavior: All toolbar styles should be reset

Actual behavior: The toolbar styles aren't reset (bold format is still active)

Platforms: Chrome 51 on Mac 10.11

Version: 1.0.0-beta.9

@jacobmllr95 jacobmllr95 changed the title Toolbar isn't reset when editor is out of focus (#446, #457) Toolbar isn't reset when editor is out of focus #446, #457 Jul 21, 2016
@jacobmllr95 jacobmllr95 changed the title Toolbar isn't reset when editor is out of focus #446, #457 Toolbar isn't reset when editor is out of focus #457 Jul 21, 2016
@jacobmllr95 jacobmllr95 changed the title Toolbar isn't reset when editor is out of focus #457 Toolbar isn't reset when editor is out of focus Jul 21, 2016
@jhchen jhchen closed this as completed in 8b7ad58 Jul 21, 2016
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