diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 290d59016..00dd99334 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -189,7 +189,7 @@ // 에디터 모듈의 getEditor를 호출하여 세팅 $oEditorView = &getView('editor'); - $editor = $oEditorView->getEditor($document_srl, $this->grant->fileupload); + $editor = $oEditorView->getEditor($document_srl, $this->grant->fileupload, true); Context::set('editor', $editor); $this->setTemplateFile('write_form'); diff --git a/modules/editor/editor.view.php b/modules/editor/editor.view.php index 5cc2676df..1fde00403 100644 --- a/modules/editor/editor.view.php +++ b/modules/editor/editor.view.php @@ -62,7 +62,7 @@ /** * @brief 에디터를 return **/ - function getEditor($upload_target_srl, $allow_fileupload = false) { + function getEditor($upload_target_srl, $allow_fileupload = false, $enableAutoSave = false) { // 업로드를 위한 변수 설정 Context::set('upload_target_srl', $upload_target_srl); Context::set('allow_fileupload', $allow_fileupload);