mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
#1087 ckeditor 정리
- xeEditor plugin 제거 및 app로 변경 - ckeditor config를 app 파일로 이동 - 툴바 접기 설정이 잘못 반영된 문제 수정
This commit is contained in:
parent
a6c15ffb0e
commit
e1c6be4bf3
7 changed files with 109 additions and 119 deletions
|
|
@ -208,6 +208,7 @@ class editorModel extends editor
|
|||
if(!$colorset) $colorset = 'moono';
|
||||
Context::set('colorset', $colorset);
|
||||
Context::set('skin', $skin);
|
||||
Context::set('module_type', $option->module_type);
|
||||
|
||||
if($skin=='dreditor')
|
||||
{
|
||||
|
|
@ -332,6 +333,7 @@ class editorModel extends editor
|
|||
$editor_config = $this->getEditorConfig($module_srl);
|
||||
|
||||
$config = new stdClass();
|
||||
$config->module_type = $type;
|
||||
|
||||
// Configurations listed according to a type
|
||||
if($type == 'document')
|
||||
|
|
@ -374,6 +376,7 @@ class editorModel extends editor
|
|||
}
|
||||
// Pre-set option variables of editor
|
||||
$option = new stdClass();
|
||||
$option->module_type = $config->module_type;
|
||||
$option->skin = $config->editor_skin;
|
||||
$option->content_style = $config->content_style;
|
||||
$option->content_font = $config->content_font;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue