Add option to control focus on CKEditor

https://www.xetown.com/qna/801549
This commit is contained in:
Kijin Sung 2017-11-21 15:33:24 +09:00
parent cb2920bc99
commit 9ba0b1e3e6
4 changed files with 5 additions and 1 deletions

View file

@ -253,6 +253,7 @@ class communicationView extends communication
$option->height = 300;
$option->skin = $this->config->editor_skin;
$option->colorset = $this->config->editor_colorset;
$option->editor_focus = Context::get('source_message') ? 'Y' : 'N';
$editor = $oEditorModel->getEditor($logged_info->member_srl, $option);
Context::set('editor', $editor);