mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #2297 from colymba/htmleditorconfig-mode-fix
HtmlEditorConfig default TinyMCE mode is now none
This commit is contained in:
commit
cbbce430e1
@ -3,7 +3,6 @@
|
||||
HtmlEditorConfig::get('cms')->setOptions(array(
|
||||
'friendly_name' => 'Default CMS',
|
||||
'priority' => '50',
|
||||
'mode' => 'none', // initialized through LeftAndMain.EditFor.js logic
|
||||
|
||||
'body_class' => 'typography',
|
||||
'document_base_url' => isset($_SERVER['HTTP_HOST']) ? Director::absoluteBaseURL() : null,
|
||||
|
@ -69,7 +69,7 @@ class HtmlEditorConfig {
|
||||
protected $settings = array(
|
||||
'friendly_name' => '(Please set a friendly name for this config)',
|
||||
'priority' => 0,
|
||||
'mode' => "specific_textareas",
|
||||
'mode' => "none", // initialized through HtmlEditorField.js redraw() logic
|
||||
'editor_selector' => "htmleditor",
|
||||
'width' => "100%",
|
||||
'auto_resize' => false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user