Fix #1375 #1390 force some default styles on editor content area

This commit is contained in:
Kijin Sung 2020-08-20 16:08:00 +09:00
parent 84dfeb64f1
commit 1956089f8c
2 changed files with 6 additions and 1 deletions

View file

@ -52,8 +52,12 @@ html {
.light_dark(default);
}
body.cke_editable {
width: unset;
height: unset;
min-width: unset;
min-height: 100vh;
box-sizing: border-box;
margin: 0;
padding: 10px;
.light_dark(@colorset);
}
@ -88,7 +92,7 @@ p.editor_autosaved_message.autosave_message {
}
.xe_content.editable, .rhymix_content.editable {
.xe_content.editable, .rhymix_content.editable, .cke_wysiwyg_div {
.cont_font(@content_font);
.cont_fontsize(@content_font_size);
.cont_lineheight(@content_line_height);