欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

fckeditor 修改記錄添加行距功能插件

 更新時間:2010年02月11日 11:59:02   作者:  
在 fck中添加行距 功能插件,需要的朋友可以參考下。
fckconfig.js 中修改
添加
復(fù)制代碼 代碼如下:

FCKConfig.LineHeights = '100%;150%;200%;250%;300%' ;
'Size' :
{
Element : 'span',
Styles : { 'font-size' : '#("Size","fontSize")' },
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
},

這個下面添加
復(fù)制代碼 代碼如下:

'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 主要是解決跳出 未知工具欄項(xiàng)目

相關(guān)文章

最新評論