Skip to content

Commit

Permalink
docs clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed May 16, 2017
1 parent 73454a0 commit 55535b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/modules/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var quill = new Quill('#editor', {
});
```

Alternatively 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 `<button>` and `<select>` elements with a class name in the form `ql-${format}`. Buttons element may optionally have a custom `value` attribute.
For use cases requiring even more customization, 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 `<button>` and `<select>` elements with a class name in the form `ql-${format}`. Buttons element may optionally have a custom `value` attribute.

```html
<!-- Create toolbar container -->
Expand Down

0 comments on commit 55535b6

Please sign in to comment.