mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
r6266 페이지 모듈의 에디터 설정 기능을 위젯에서도 지원하기 위한 코드 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6267 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6dacbb1793
commit
a37abb5f8b
2 changed files with 2 additions and 12 deletions
|
|
@ -46,19 +46,9 @@
|
|||
|
||||
// 에디터 모듈의 getEditor를 호출하여 세팅
|
||||
$oEditorModel = &getModel('editor');
|
||||
$option->primary_key_name = 'module_srl';
|
||||
$option->content_key_name = 'content';
|
||||
$option->allow_fileupload = true;
|
||||
$option->enable_autosave = false;
|
||||
$option->enable_default_component = true;
|
||||
$option->enable_component = true;
|
||||
$option->resizable = false;
|
||||
$option->height = 200;
|
||||
$editor = $oEditorModel->getEditor($module_srl, $option);
|
||||
$editor = $oEditorModel->getModuleEditor('document',$module_srl, $module_srl,'module_srl','content');
|
||||
Context::set('editor', $editor);
|
||||
|
||||
|
||||
|
||||
$this->setTemplateFile('add_content_widget');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue