富贵资源网 Design By www.hznty.com
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' 这个字母的大小写。
在fckeditor\editor\plugins文件夹下上传LineHeight目录
在fckeditor\editor\js 上传fckeditorcode_gecko.js和fckeditorcode_ie.js
这两个js 主要是解决跳出 未知工具栏项目
富贵资源网 Design By www.hznty.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
富贵资源网 Design By www.hznty.com