diff --git a/src/bundle/DependencyInjection/Configuration.php b/src/bundle/DependencyInjection/Configuration.php index 45d6c567..3226975a 100644 --- a/src/bundle/DependencyInjection/Configuration.php +++ b/src/bundle/DependencyInjection/Configuration.php @@ -168,8 +168,16 @@ private function addCustomStylesSection(NodeBuilder $ezRichTextNode) * ezpublish: * ezrichtext: * alloy_editor: + * extra_plugins: [plugin1, plugin2] + * extra_buttons: + * paragraph: [button1, button2] + * embed: [button1] * * + * Please note extra_buttons setting will be deprecated in eZ Platform 3.x. + * The alternative and more flexible solution will be introduced. + * So you will need to update Online Editor Extra Buttons as part of eZ Platform 3.x upgrade. + * * @param \Symfony\Component\Config\Definition\Builder\NodeBuilder $ezRichTextNode * * @return \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition @@ -183,6 +191,12 @@ private function addAlloyEditorSection(NodeBuilder $ezRichTextNode) ->example(['plugin1', 'plugin2']) ->prototype('scalar')->end() ->end() + ->arrayNode('extra_buttons') + ->arrayPrototype() + ->example(['button1', 'button2']) + ->prototype('scalar')->end() + ->end() + ->end() ->end() ->end() ;