에디터 기본 설정을 사용할 수 있도록 개선

한 번 설정 후에 에디터를 기본 설정으로 되돌릴 수 없던 문제를 개선.
This commit is contained in:
MinSoo Kim 2016-04-27 19:42:47 +09:00
parent 8e65399cae
commit b5462ccbcc
5 changed files with 38 additions and 6 deletions

View file

@ -86,6 +86,8 @@ class editorController extends editor
else $module_srl = array($module_srl);
$editor_config = new stdClass;
$editor_config->default_editor_settings = Context::get('default_editor_settings');
if($editor_config->default_editor_settings !== 'Y') $editor_config->default_editor_settings = 'N';
$editor_config->editor_skin = Context::get('editor_skin');
$editor_config->comment_editor_skin = Context::get('comment_editor_skin');
$editor_config->content_style = Context::get('content_style');