使用 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;
}