From ce869b82307eb6f233c4b17560891aae8fdfe700 Mon Sep 17 00:00:00 2001 From: robertSt7 Date: Mon, 13 Jan 2025 14:10:05 +0100 Subject: [PATCH] Improve: add custom toolbar buttons docs --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2100974..3bffaf9 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ The following code customize the toolbar. ### Custom configuration for Quill A list of configuration options you can find in the [Quill toolbar documentation](https://quilljs.com/docs/modules/toolbar). +In addition to this you can also configure `undo`, `redo` and `html-edit`. The WYSIWYG editable allows us to specify the toolbar. If you have to limit styling options (for example only basic styles like `` tag and lists would be allowed), just use `toolbar` option. @@ -51,7 +52,9 @@ If you have to limit styling options (for example only basic styles like `` t modules: { toolbar: { container: [ - [{ header: [1, 2, 3, 4, 5, 6, false] }] + ['undo', 'redo'], + [{ header: [1, 2, 3, 4, 5, 6, false] }], + ['html-edit'] ] } }