Skip to content

Commit

Permalink
Merge pull request #250 from mathieu-coingt/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran authored Jan 21, 2025
2 parents b732578 + 8f7f82e commit 3eba73a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,14 @@ $builder->add('content', WysiwygType::class, [
'editor_height' => 500,
'editor_locale' => 'fr',
'editor_toolbar_type' => EditorInterface::TOOLBAR_TYPE_CUSTOM,
'editor_toolbar_buttons' => ['bold', 'italic', 'underline'],
'editor_toolbar_buttons' => [
['undo', 'redo'],
['bold', 'underline', 'italic', 'strike'],
['fontColor', 'hiliteColor'],
['removeFormat'],
['link'],
['showBlocks', 'codeView'],
],
'editor_custom_config' => ['option1' => 'value1', 'option2' => 'value2'],
]);
```
Expand Down

0 comments on commit 3eba73a

Please sign in to comment.