Eliminate tedious shuffling of config values

This commit is contained in:
Kijin Sung 2017-06-27 16:52:10 +09:00
parent 8b9f6fb230
commit 53ea3d4a31
4 changed files with 124 additions and 198 deletions

View file

@ -18,6 +18,30 @@ class editor extends ModuleObject
'default_word_break' => 'normal',
);
/**
* @brief Default editor config
*/
public $default_editor_config = array(
'editor_skin' => 'ckeditor',
'editor_height' => 300,
'mobile_editor_height' => 200,
'sel_editor_colorset' => 'moono-lisa',
'content_style' => 'ckeditor_light',
'comment_editor_skin' => 'ckeditor',
'comment_editor_height' => 100,
'mobile_comment_editor_height' => 100,
'sel_comment_editor_colorset' => 'moono-lisa',
'comment_content_style' => 'ckeditor_light',
'content_font' => '',
'content_font_size' => '13px',
'content_line_height' => '160%',
'content_paragraph_spacing' => '0px',
'content_word_break' => 'normal',
'autoinsert_image' => 'paragraph',
'additional_css' => array(),
'additional_mobile_css' => array(),
);
/**
* @brief Implement if additional tasks are necessary when installing
*/