【发布时间】:2020-06-10 16:00:50
【问题描述】:
我无法在视图页面上显示 CKEditor 编辑的内容。
我尝试将其设置为禁用,但这仍然显示带有禁用插件的工具栏。 我想将没有工具栏的内容显示为文章。
提前致谢
【问题讨论】:
标签: angular ckeditor ckeditor5
我无法在视图页面上显示 CKEditor 编辑的内容。
我尝试将其设置为禁用,但这仍然显示带有禁用插件的工具栏。 我想将没有工具栏的内容显示为文章。
提前致谢
【问题讨论】:
标签: angular ckeditor ckeditor5
只需编辑放置源文件的目录中的 config.js 文件即可指定自定义工具栏。
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'Custom'; //makes all editors use this toolbar
config.toolbar_Custom = []; //define an empty array or whatever buttons you want.
};
【讨论】: