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

Initializing Quill without toolbar throws error #955

Closed
jhchen opened this issue Sep 12, 2016 · 2 comments
Closed

Initializing Quill without toolbar throws error #955

jhchen opened this issue Sep 12, 2016 · 2 comments

Comments

@jhchen
Copy link
Member

jhchen commented Sep 12, 2016

You should be able to initialize Quill with no toolbar and still use the snow or bubble theme (which adds the toolbar by default).

var quill = new Quill('#editor', {
  modules: {
    toolbar: false
  }
}

This configuration currently throws an error in v1.0.3.

@rockerest
Copy link
Contributor

rockerest commented Sep 12, 2016

Thanks for reporting this for me!

After posting the question on StackOverflow, I considered that perhaps it was using a theme that was causing the toolbar to show up. Using "theme": null is a viable workaround temporarily (just missing a few little visual things like the border).

Also, using "theme": false results in quill Cannot import themes/false. Are you sure it was registered? being thrown. Is this another bug?

@rockerest
Copy link
Contributor

rockerest commented Sep 12, 2016

Submitted a PR for the "theme": false issue: #957

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

No branches or pull requests

2 participants