为ckeditor编辑器添加行距功能,添加之后的效果如下:
具体做法是添加插件:在目录“\ckeditor\plugins”下添加插件目录“lineheight”,目录“\ckeditor\plugins\lineheight”下的文件截图如下:
然后需要对\ckeditor\config.js文件进行修改,即添加行距插件:
config.extraPlugins += (config.extraPlugins ? ',lineheight' : 'lineheight');
不要忘记“config.toolbar_Full = 。。。”ckeditor的工具栏也要添加哦
行距插件目录下载:userfiles/file/2011051114442135.rar
扫描二维码关注公众号,回复:
2662884 查看本文章