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