添加
復制代碼代碼如下:
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 主要是解決跳出 未知工具欄項目