mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
#1087 CKEditor 기본 콘텐츠 스타일 추가
This commit is contained in:
parent
d2d092a7eb
commit
571ebc37d3
9 changed files with 143 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ class editorModel extends editor
|
|||
if(!$editor_config->comment_editor_height) if($editor_default_config->comment_editor_height? $editor_config->comment_editor_height = $editor_default_config->comment_editor_height : $editor_config->comment_editor_height = 100);
|
||||
if(!$editor_config->editor_skin) if($editor_default_config->editor_skin? $editor_config->editor_skin = $editor_default_config->editor_skin : $editor_config->editor_skin = 'ckeditor');
|
||||
if(!$editor_config->comment_editor_skin) if($editor_default_config->comment_editor_skin? $editor_config->comment_editor_skin = $editor_default_config->comment_editor_skin : $editor_config->comment_editor_skin = 'ckeditor');
|
||||
if(!$editor_config->content_style) if($editor_default_config->content_style? $editor_config->content_style = $editor_default_config->content_style : $editor_config->content_style = 'default');
|
||||
if(!$editor_config->content_style) if($editor_default_config->content_style? $editor_config->content_style = $editor_default_config->content_style : $editor_config->content_style = 'ckeditor_light');
|
||||
|
||||
if(!$editor_config->content_font && $editor_default_config->content_font) $editor_config->content_font = $editor_default_config->content_font;
|
||||
if(!$editor_config->content_font_size && $editor_default_config->content_font_size) $editor_config->content_font_size = $editor_default_config->content_font_size;
|
||||
|
|
@ -177,7 +177,7 @@ class editorModel extends editor
|
|||
if(!$option->allow_fileupload) $allow_fileupload = false;
|
||||
else $allow_fileupload = true;
|
||||
// content_style setting
|
||||
if(!$option->content_style) $option->content_style = 'default';
|
||||
if(!$option->content_style) $option->content_style = 'ckeditor_light';
|
||||
Context::set('content_style', $option->content_style);
|
||||
Context::set('content_style_path', $this->module_path . 'styles/' . $option->content_style);
|
||||
// Default font setting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue