editor에서 사용할 수 있는 content_style_path 변수 추가

This commit is contained in:
bnu 2015-02-24 18:41:41 +09:00
parent 1545c67961
commit 33d985fe07

View file

@ -179,6 +179,7 @@ class editorModel extends editor
// content_style setting
if(!$option->content_style) $option->content_style = 'default';
Context::set('content_style', $option->content_style);
Context::set('content_style_path', $this->module_path . 'styles/' . $option->content_style);
// Default font setting
Context::set('content_font', addslashes($option->content_font));
Context::set('content_font_size', $option->content_font_size);