angular - 如何向 Classic CKEditor 5 添加滚动条?

标签 angular ckeditor5

该文档提到 CKEditor 5 的默认行为是在添加更多文本时增长。

但是我希望编辑器显示滚动条而不是增长。如何才能做到这一点 ?

最佳答案

根据这个question您可以通过添加 max-height 来实现此目的到 CSS。

他们的document demo也用了这种方式.

.ck-editor__editable {
    max-height: 400px;
}

关于angular - 如何向 Classic CKEditor 5 添加滚动条?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56221863/

相关文章:

http - 在 Nativescript 应用程序中向服务器发送 http.patch 请求

angular - 如何将 md-switch 添加到 Angular 4

html - angular2 自定义指令输入语法

ckeditor - 为什么CKEditor5使用promise来初始化它?

javascript - 在 CKEditor 5 的自定义构建中导出 ClassicEditor

javascript - 我需要将 ckeditor5 与我的应用程序中的注释集成到 angularjs 中。我在 AngularJS 中找不到任何插件,总是在 Angular(2+) 中找到

ckeditor - 在 ckeditor5 下拉项上注册点击监听器

angular - 尝试在 Angular 4 应用程序中嵌入要点

forms - 在 Angular2 : What is the proven way? 中的多步骤表单之间交换数据

reactjs - 监听 CKEditor 5 中内容更改时触发的事件