如何设置CKEditor 5高度

2023-12-31

使用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;
}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何设置CKEditor 5高度 的相关文章

随机推荐