PHPCMS中ckeditor编辑器添加“行距”选项

 
PHPCMS后台ckeditor编辑器没有行距功能,需要添加行距插件:
1,下载lineheight插件
    下载链接:https://files.cnblogs.com/files/hugo07/ckeditor-lineheight.zip


2,将lineheight文件夹上传至/home/www/html/statics/js/ckeditor/plugins目录中


3,修改ckeditor目录下的config.js文件:


     config.extraPlugins = 'capture,videoforpc,flashplayer';
     修改为:
     config.extraPlugins = 'capture,videoforpc,flashplayer,lineheight';


4,修改/home/www/html/phpcms/libs/classes目录下的form.class.php文件:
   
    ['Styles','Format','Font','FontSize'],
    修改为:
    ['Styles','Format','Font','FontSize','lineheight'],


5,更新后台缓存,清除浏览器缓存
posted @ 2016-08-30 17:27  hugo07  阅读(574)  评论(0编辑  收藏  举报