How to set the height of CKEditor 5 (Classic Editor)

后端 未结 17 1387
清歌不尽
清歌不尽 2020-12-01 08:41

In CKEditor 4 to change the editor height there was a configuration option: config.height.

How do I change the height of CKEditor 5? (the Classic Editor)

17条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 09:34

    Setting the height via a global stylesheet. Just add to your common .css file (like style.css):

    .ck-editor__editable {
        min-height: 500px;
    }
    

提交回复
热议问题