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

How to replace default Toolbar Icons with eg. Font-Awesome Icons #2011

Closed
ph1f1 opened this issue Mar 9, 2018 · 2 comments
Closed

How to replace default Toolbar Icons with eg. Font-Awesome Icons #2011

ph1f1 opened this issue Mar 9, 2018 · 2 comments

Comments

@ph1f1
Copy link

ph1f1 commented Mar 9, 2018

Is there a way to use Font-Awesome Icons instead of the provided, default icons of the toolbar buttons?

For example i would love to configure them like this:

var editor = new Quill('#editor', {
  modules: {
    toolbar: [
      {'bold': { icon: 'fa fa-bold' }},
      'italic'
    ]
  },
  theme: 'snow'
});
@benbro
Copy link
Contributor

benbro commented Mar 9, 2018

Example how to override the default icons with font awesome icons:
#1099 (comment)

@benbro benbro closed this as completed Mar 10, 2018
@ph1f1
Copy link
Author

ph1f1 commented Mar 12, 2018

Thanks! How about adding this to the documentation, or did I just miss it?

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