Support automatic switching to dark skin in CKEditor and SimpleEditor

This commit is contained in:
Kijin Sung 2021-01-06 23:35:51 +09:00
parent c80a80f986
commit e7b49baf13
12 changed files with 41 additions and 4 deletions

View file

@ -155,6 +155,7 @@ class editorController extends editor
$config->content_font_size = trim($vars->content_font_size);
$config->enable_autosave = $vars->enable_autosave ?: 'Y';
$config->auto_dark_mode = $vars->auto_dark_mode ?: 'Y';
$config->allow_html = $vars->allow_html ?: 'Y';
// Apply module-specific permissions.