autogrow 让FCKeditor高度随内容增加的插件

2023-12-05 0 183

这个插件在默认情况下可能运行不正常,必须做一点修改才可以。 打开插件所在文件:/editor/plugins/autogrow/fckplugin.js 找到第65行: window.frameElement.height = iMainFrameSize ; 将其修改为: 复制代码 代码如下: if (window.frameElement.style.height) { window.frameElement.style.height = iMainFrameSize; } else { window.frameElement.height = iMainFrameSize; } 这样就可以兼容IE和火狐浏览器了。 启用插件: 打开文件:/fckeditor/fckconfig.js 启用这两行: FCKConfig.Plugins.Add( \’autogrow\’ ) ; FCKConfig.AutoGrowMax = 600 ; AutoGrowMax是限制最高高度。可以根据需要自行设置。 参考:http://cksource.com/forums/viewtopic.php?f=6&t=10214&p=30094

您可能感兴趣的文章:

  • CKEditor扩展插件:自动排版功能autoformat插件实现方法详解
  • FCKeditor 插件开发 示例(详细版本)
  • ckeditor自定义插件使用方法详解
  • CKEditor 附插入代码的插件
  • 添加FCKeditor插件需要注意的地方
  • ckeditor插件开发简单实例
  • fckeditor 插件实例 制作步骤
  • CKEditor中加入syntaxhighlighter代码高亮插件
  • FCKeditor 和 SyntaxHighlighter 代码高亮插件的整合
  • ckeditor一键排版功能实现方法分析

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 网页编辑器 autogrow 让FCKeditor高度随内容增加的插件 https://www.u-9.cn/biancheng/bianji/97196.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务