Respect PC and mobile editor height settings in CKEditor and textarea

This commit is contained in:
Kijin Sung 2017-06-27 17:42:28 +09:00
parent fcef0427e6
commit 0d257b6b67
2 changed files with 3 additions and 2 deletions

View file

@ -11,6 +11,7 @@
textarea.css("font-family", {json_encode($content_font ?: null)});
textarea.css("font-size", {json_encode($content_font_size)});
textarea.css("line-height", {json_encode($content_line_height)});
textarea.height({intval($editor_height)});
if ({json_encode($content_word_break)} === 'none') {
textarea.css("white-space", "nowrap");
} else {