diff --git a/admin/_config.php b/admin/_config.php index d3397bec0..2e760267d 100644 --- a/admin/_config.php +++ b/admin/_config.php @@ -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, diff --git a/forms/HtmlEditorConfig.php b/forms/HtmlEditorConfig.php index e9a46704c..91f4eb08d 100644 --- a/forms/HtmlEditorConfig.php +++ b/forms/HtmlEditorConfig.php @@ -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,