Skip to content

Commit 3eba73a

Browse files
authored
Merge pull request #250 from mathieu-coingt/patch-1
2 parents b732578 + 8f7f82e commit 3eba73a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
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)