Document how to enable TinyMCE context menu

Required since https://github.com/silverstripe/silverstripe-framework/pull/2591
This commit is contained in:
Ingo Schommer 2013-10-23 19:59:07 +02:00
parent 4d1dd1e6c0
commit d02df71680

View File

@ -286,7 +286,7 @@ support in IE10. Alternatively, you can use the PSpell PHP module for server sid
Assuming you have the module installed, here's how you enable its use in `mysite/_config.php`:
:::php
HtmlEditorConfig::get('cms')->enablePlugins('spellchecker');
HtmlEditorConfig::get('cms')->enablePlugins('spellchecker', 'contextmenu');
HtmlEditorConfig::get('cms')->addButtonsToLine(2, 'spellchecker');
HtmlEditorConfig::get('cms')->setOption(
'spellchecker_rpc_url',