diff --git a/modules/editor/component/color_box.php b/modules/editor/component/color_box.php deleted file mode 100644 index 49b8925b7..000000000 --- a/modules/editor/component/color_box.php +++ /dev/null @@ -1,41 +0,0 @@ - - - - - change Color - - - - - - - - - - diff --git a/modules/editor/component/colorpicker/colorpicker.tpl b/modules/editor/component/colorpicker/colorpicker.tpl new file mode 100644 index 000000000..392ec5928 --- /dev/null +++ b/modules/editor/component/colorpicker/colorpicker.tpl @@ -0,0 +1,20 @@ + diff --git a/modules/editor/tpl/images/color_block.gif b/modules/editor/component/colorpicker/icon.gif similarity index 100% rename from modules/editor/tpl/images/color_block.gif rename to modules/editor/component/colorpicker/icon.gif diff --git a/modules/editor/editor.view.php b/modules/editor/editor.view.php index 20ef9160c..61d0252fc 100644 --- a/modules/editor/editor.view.php +++ b/modules/editor/editor.view.php @@ -17,9 +17,16 @@ * @brief 에디터를 return **/ function getEditor($upload_target_srl, $allow_fileupload = false) { + // 업로드를 위한 변수 설정 Context::set('upload_target_srl', $upload_target_srl); Context::set('allow_fileupload', $allow_fileupload); + // 에디터 컴포넌트를 구함 + $component_list = FileHandler::readDir($this->module_path.'components'); + debugPrint($component_list); + + + // 템플릿을 미리 컴파일해서 컴파일된 소스를 return $tpl_path = $this->module_path.'tpl'; $tpl_file = 'editor.html';