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

reopening format bar doesn't reset itself when I setHTML('') #446 #457

Closed
jasonmng opened this issue Aug 19, 2015 · 1 comment
Closed

reopening format bar doesn't reset itself when I setHTML('') #446 #457

jasonmng opened this issue Aug 19, 2015 · 1 comment
Milestone

Comments

@jasonmng
Copy link

related issue #446

I was able to reproduce the issue on: http://quilljs.com/

Steps to reproduce:

  1. Inject the following HTML onto the page: <button onclick="quill.setHTML('');">Click Me</button>
  2. in the editor select "Huge" font and enter in some text
  3. click on the injected button

Expected Results: The editor is cleared and the format bar is cleared
Actual Results: the editor is cleared but the format bar is not

I'm running: chrome 44.0.2403.155 (64-bit)

@jhchen jhchen added this to the Quill 1.0 milestone Dec 15, 2015
@jhchen
Copy link
Member

jhchen commented May 4, 2016

There's no more setHTML but an equivalent clearing of all text call does reset the format bar in the 1.0 beta release

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

2 participants