mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2591 from colymba/tinymce-contextmenu-off
API TinyMCE contextmenu is disabled by default
This commit is contained in:
commit
40a6620668
@ -29,6 +29,8 @@ HtmlEditorConfig::get('cms')->setOptions(array(
|
||||
. "object[width|height|data|type],param[name|value],map[class|name|id],area[shape|coords|href|target|alt]"
|
||||
));
|
||||
|
||||
HtmlEditorConfig::get('cms')->disablePlugins('contextmenu');
|
||||
|
||||
HtmlEditorConfig::get('cms')->enablePlugins('media', 'fullscreen', 'inlinepopups');
|
||||
HtmlEditorConfig::get('cms')->enablePlugins(array(
|
||||
'ssbuttons' => sprintf('../../../%s/tinymce_ssbuttons/editor_plugin_src.js', THIRDPARTY_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user