.color_scheme_dark 참조하도록 정리

This commit is contained in:
Kijin Sung 2021-01-07 22:47:30 +09:00
parent 9394694830
commit 7c1887b8a7
2 changed files with 29 additions and 46 deletions

View file

@ -97,10 +97,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
var editor_color = null;
<!--@if($editor_auto_dark_mode)-->
if (getColorScheme() === 'dark') {
if(editor_skin === 'moono-lisa' ) {
editor_color = '#333333'
}
else {
if (editor_skin !== 'moono-lisa' ) {
editor_skin = 'moono-dark';
}
}
@ -121,7 +118,6 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
allowedContent: true,
startupFocus: {json_encode($editor_focus)},
language: "{str_replace('jp','ja',$lang_type)}",
uiColor: editor_color
},
loadXeComponent: true,
enableToolbar: true,