mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Eliminate tedious shuffling of config values
This commit is contained in:
parent
8b9f6fb230
commit
53ea3d4a31
4 changed files with 124 additions and 198 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue