Skip to content

Commit

Permalink
[docs] Add quill formats mention to rte docs (#2148)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Aug 18, 2022
1 parent 4053b8c commit d8c98ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/others/rte.mdx
Expand Up @@ -81,7 +81,7 @@ To configure sticky toolbar properties set following props:

## Restrict formats

To restrict formats that user case use, set `formats` prop. Note that you will also need to remove toolbar
To restrict formats that user case use, set `formats` prop with an array of [quill formats](https://quilljs.com/docs/formats/). Note that you will also need to remove toolbar
buttons. In the following example three formats are enabled: `bold`, `italic` and `underline`,
toolbar includes `italic` and `underline` controls, `bold` format can be added with `Ctrl + B` keyboard
shortcut, other formats are not available:
Expand Down

0 comments on commit d8c98ea

Please sign in to comment.