에디터 기본 설정에 '자동저장 사용, HTML 허용' 설정 추가

This commit is contained in:
conory 2017-07-13 12:53:37 +09:00
parent 820c725d69
commit a8e0acc6cf
6 changed files with 27 additions and 11 deletions

View file

@ -43,8 +43,6 @@ class editorModel extends editor
}
// Fill in some other values.
$editor_config->enable_autosave = $editor_config->enable_autosave ?: 'Y';
$editor_config->allow_html = $editor_config->allow_html ?: 'Y';
if(!is_array($editor_config->enable_html_grant)) $editor_config->enable_html_grant = array();
if(!is_array($editor_config->enable_comment_html_grant)) $editor_config->enable_comment_html_grant = array();
if(!is_array($editor_config->upload_file_grant)) $editor_config->upload_file_grant = array();