手机
当前位置:查字典教程网 >编程开发 >网页编辑器 >fckeditor 修改记录添加行距功能插件
fckeditor 修改记录添加行距功能插件
摘要:fckconfig.js中修改添加复制代码代码如下:FCKConfig.LineHeights='100%;150%;200%;250%;3...

fckconfig.js 中修改

添加

复制代码 代码如下:

FCKConfig.LineHeights = '100%;150%;200%;250%;300%' ;

'Size' :

{

Element : 'span',

Styles : { 'font-size' : '#("Size","fontSize")' },

Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]

},

这个下面添加

复制代码 代码如下:

'LineHeight' :

{

Element : 'span',

Styles : { 'line-height' : '#("Font")' },

Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]

},

FCKConfig.ToolbarSets 里添加

'LineHeight'

开启插件

FCKConfig.Plugins.Add( 'LineHeight','zh-cn' ) ;

注意'LineHeight' 这个字母的大小写。

在fckeditoreditorplugins文件夹下上传LineHeight目录

在fckeditoreditorjs 上传fckeditorcode_gecko.js和fckeditorcode_ie.js

这两个js 主要是解决跳出 未知工具栏项目

【fckeditor 修改记录添加行距功能插件】相关文章:

myFocus 一个KindEditor的焦点图插件

ueditor1.2.1修改超链接默认值,ueditor编辑器新窗口打开连接

百度编辑器ueditor前台代码高亮无法自动换行解决方法

fckeditor php上传文件重命名的设置

fckeditor在php中的用法(添加于修改写成了函数)

fckeditor 插件开发参考文档

fckeditor 插件实例 制作步骤

FCKeditor编辑器添加图片上传功能及图片路径问题解决方法

FCKeditor的几点修改小结

fckediter javascript事件函数代码

精品推荐
分类导航