From 409ffe867b62c57704515429104f705756ef9ebb Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 23 Nov 2019 00:33:07 +0900 Subject: [PATCH] Fix editor skin and colorset not being applied in message write screen --- modules/communication/communication.view.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/communication/communication.view.php b/modules/communication/communication.view.php index 7deaa7c09..32416441b 100644 --- a/modules/communication/communication.view.php +++ b/modules/communication/communication.view.php @@ -255,6 +255,7 @@ class communicationView extends communication // set a signiture by calling getEditor of the editor module $oEditorModel = getModel('editor'); $option = $oEditorModel->getEditorConfig(); + $option->default_editor_settings = false; $option->primary_key_name = 'temp_srl'; $option->content_key_name = 'content'; $option->allow_fileupload = $this->config->enable_attachment === 'Y'; @@ -264,8 +265,8 @@ class communicationView extends communication $option->resizable = FALSE; $option->disable_html = TRUE; $option->height = 300; - $option->skin = $this->config->editor_skin; - $option->colorset = $this->config->editor_colorset; + $option->editor_skin = $this->config->editor_skin; + $option->sel_editor_colorset = $this->config->editor_colorset; $option->editor_focus = Context::get('source_message') ? 'Y' : 'N'; $editor = $oEditorModel->getEditor(getNextSequence(), $option); $editor = $editor . "\n" . '' . "\n";