CKEditor 4 combinate css

社会主义新天地 提交于 2019-12-02 01:42:18
user1933753

In CKEDITOR, you write a <div> tag for any of your ol,ul,dl,h1,etc elements..

Just go to source code button in CKEDITOR and then you can edit the way you want.

Like I edited on the startpost, I found the answer myself:

Change config.js to:

CKEDITOR.editorConfig = function( config ) {
    config.bodyClass = 'content'; //class that body needs to refer to
    config.contentsCss = '/css/beheer.css'; //your stylesheet
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!