mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Document how to enable TinyMCE context menu
Required since https://github.com/silverstripe/silverstripe-framework/pull/2591
This commit is contained in:
parent
4d1dd1e6c0
commit
d02df71680
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user