
PHPCMS后台ckeditor编辑器没有行距功能,需要添加行距插件:
1,下载lineheight插件
下载链接:http://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,更新后台缓存,清除浏览器缓存
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,更新后台缓存,清除浏览器缓存

本文详细介绍了如何在PHPCMS后台的CKEditor编辑器中添加行距功能,包括下载lineheight插件、上传至指定目录、修改配置文件等步骤,以及更新缓存和清除浏览器缓存的方法。
316

被折叠的 条评论
为什么被折叠?



