Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of recognized quill toolbar classes

The documentation for the quill module states:

...you can manually create a toolbar in HTML, and pass the DOM element or selector into Quill. The ql-toolbar class will be added to the toolbar container and Quill attach appropriate handlers to and elements with a class name in the form ql-${format}. Buttons element may optionally have a custom value attribute.

The example that follows includes examples such as

<button class="ql-bold"></button>
<button class="ql-script" value="sub"></button>
<button class="ql-script" value="super"></button>

Is there a list of all the recognized ql-${format} classes somewhere that I can reference? It would be really helpful to have a table of these in the Toolbar documentation section.

like image 294
Tantelope Avatar asked Oct 31 '16 18:10

Tantelope


1 Answers

A list of supported formats.

An example with the HTML of all the toolbar options.

like image 157
Ben Browitt Avatar answered Sep 21 '22 09:09

Ben Browitt