使用CKeditor角度分量如何设置编辑器高度?
根据文档,可以通过将编辑器样式设置为:
min-height: 500px !important;
但它不起作用!
如果将其添加到全局样式表,则以下内容应该有效:
.ck-editor__editable_inline {
min-height: 500px !important;
}
但是如果你想通过component.css
设计风格,你需要输入:
:host ::ng-deep .ck-editor__editable_inline {
min-height: 500px !important;
}