Skip to content

Commit

Permalink
fox(docs/README): syntax for editor_toolbar_buttons has to be with …
Browse files Browse the repository at this point in the history
…double brackets
  • Loading branch information
mathieu-coingt authored Nov 5, 2024
1 parent e5d2b38 commit ae3957b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ $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' => [['bold', 'italic', 'underline']],
'editor_custom_config' => ['option1' => 'value1', 'option2' => 'value2'],
]);
```
Expand Down

0 comments on commit ae3957b

Please sign in to comment.