Merge pull request #2297 from colymba/htmleditorconfig-mode-fix

HtmlEditorConfig default TinyMCE mode is now none
This commit is contained in:
Simon Welsh 2014-03-17 08:22:14 +13:00
commit cbbce430e1
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -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,