樱花公主

导航

2012年10月11日 #

为ckeditor添加行距的功能(转载)

摘要: 为ckeditor添加行距的功能发现CKeditor木有设置行距的功能,想想这么重要的功能肯定有相应的插件,于是百度google一下,倒是有不少的教程,不过都不全,所以记录一下,以备后用,嘿。1.下载ckeditor的行距插件包 lineheight2.解压到ckeditor/plugins目录下3.修改ckeditor目录下的 config.js文件,在其中添加以下的代码config.extraPlugins += (config.extraPlugins ? ',lineheight' : 'lineheight'); CKEDITOR.config.too 阅读全文

posted @ 2012-10-11 13:13 修炼1987 阅读(2085) 评论(0) 推荐(0) 编辑