源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

fckeditor 修改记录添加行距功能插件

  • 时间:2022-11-04 15:31 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:fckeditor 修改记录添加行距功能插件
fckconfig.js 中修改 添加
[u]复制代码[/u] 代码如下:
FCKConfig.LineHeights = '100%;150%;200%;250%;300%' ; 'Size' : { Element : 'span', Styles : { 'font-size' : '#("Size","fontSize")' }, Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ] },
这个下面添加
[u]复制代码[/u] 代码如下:
'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 主要是解决跳出 未知工具栏项目
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部