mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Inlining TinyMCE HTML popup (fixes #7451)
Doesn't include base TinyMCE logic when used externally, most likely a TinyMCE bug since the source_editor.html file is unmodified.
This commit is contained in:
parent
9cdc787935
commit
4c0a0f95b0
@ -16,7 +16,7 @@ HtmlEditorConfig::get('cms')->setOptions(array(
|
|||||||
'spellchecker_rpc_url' => THIRDPARTY_DIR . '/tinymce-spellchecker/rpc.php'
|
'spellchecker_rpc_url' => THIRDPARTY_DIR . '/tinymce-spellchecker/rpc.php'
|
||||||
));
|
));
|
||||||
|
|
||||||
HtmlEditorConfig::get('cms')->enablePlugins('media', 'fullscreen');
|
HtmlEditorConfig::get('cms')->enablePlugins('media', 'fullscreen', 'inlinepopups');
|
||||||
HtmlEditorConfig::get('cms')->enablePlugins(array('ssbuttons' => sprintf('../../../%s/tinymce_ssbuttons/editor_plugin_src.js', THIRDPARTY_DIR)));
|
HtmlEditorConfig::get('cms')->enablePlugins(array('ssbuttons' => sprintf('../../../%s/tinymce_ssbuttons/editor_plugin_src.js', THIRDPARTY_DIR)));
|
||||||
|
|
||||||
HtmlEditorConfig::get('cms')->insertButtonsBefore('formatselect', 'styleselect');
|
HtmlEditorConfig::get('cms')->insertButtonsBefore('formatselect', 'styleselect');
|
||||||
|
Loading…
Reference in New Issue
Block a user