手机
当前位置:查字典教程网 >编程开发 >网页编辑器 >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 修改记录添加行距功能插件】相关文章:

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

FCKeditor 编辑器插入代码功能实现步骤

ckeditor syntaxhighlighter代码高亮插件,完美修复

fckeditor 常用函数

FCKeditor添加自定义按钮的方法

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

myFocus 一个KindEditor的焦点图插件

fckeditor 插件开发参考文档

FckEditor 中文配置手册详细说明

fckediter javascript事件函数代码

精品推荐
分类导航