From 9b5e5e812e2ea04acc91c060f029c9f57bf679dc Mon Sep 17 00:00:00 2001 From: colymba Date: Mon, 5 Aug 2013 21:40:44 +0300 Subject: [PATCH] HtmlEditorConfig default TinyMCE mode is now none --- admin/_config.php | 1 - forms/HtmlEditorConfig.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/_config.php b/admin/_config.php index 4ea5c221a..2ba396d8e 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 aef07d589..23ae1bd78 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,