如何在没有工具栏的用户端显示 Ckeditor 视图



我很难在视图页面上显示CKEditor编辑的内容。

我尝试将其设置为禁用,但这仍然显示带有禁用插件的工具栏。 我想将没有工具栏的内容显示为文章。

提前致谢

只需在放置源文件的目录中编辑 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.
};

最新更新