Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f1c20d9

Browse files
committedJan 21, 2025
feat(docs): update README with more precise editor_toolbar_buttons
1 parent ae3957b commit f1c20d9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,14 @@ $builder->add('content', WysiwygType::class, [
528528
'editor_height' => 500,
529529
'editor_locale' => 'fr',
530530
'editor_toolbar_type' => EditorInterface::TOOLBAR_TYPE_CUSTOM,
531-
'editor_toolbar_buttons' => [['bold', 'italic', 'underline']],
531+
'editor_toolbar_buttons' => [
532+
['undo', 'redo'],
533+
['bold', 'underline', 'italic', 'strike'],
534+
['fontColor', 'hiliteColor'],
535+
['removeFormat'],
536+
['link'],
537+
['showBlocks', 'codeView'],
538+
],
532539
'editor_custom_config' => ['option1' => 'value1', 'option2' => 'value2'],
533540
]);
534541
```

0 commit comments

Comments
 (0)
Please sign in to comment.