Fckeditor使用方法
来源:互联网 发布:值得下载的app 知乎 编辑:程序博客网 时间:2024/05/21 21:49
测试Fckeditor版本为:2.6.3
目前Fckeditor只能用于基于ie内核的浏览器,如果要使用于chrome等浏览器,请使用ckeditor。
具体使用方法:
1.将解压后的fckeditor整个文件夹复制到Project的WebRoot路径下
2.在要使用Fckeditor的页面,导入fckeditor.js(在fckeditor文件夹里)文件
因为此处使用Fckeditor用到了jQuery,因此相应的jquery.js也要导入
3.根据需要适当修改以下JS代码,复制到要使用Fckeditor的页面即可
替换成Fckeditor的textarea,名字和上面的替换的名字要一致。
PS:代码解释
JS代码中各个参数具体作用(使用本js或者上文使用方法步骤3的代码都可以,两段代码大同小异)
使用自定义的配置文件
1.在fckconfig.js里将FCKConfig.CustomConfigurationsPath = ''修改为: FCKConfig.CustomConfigurationsPath = FCKConfig.EditorPath + "myconfig.js" 作用:告诉Fckeditor,我有个自定义的配置在该地址下的该文件。
2.在myconfig.js里写想修改的东西,例如:表情,Fckeditor菜单栏的减少等,模版在fckconfig.js里面有,参考着修改即可。没有修改的配置,Fckeditor默认使用自己的默认配置。
0 0
- FCKeditor使用方法
- FCKeditor使用方法
- FCKeditor使用方法
- FCKeditor使用方法
- FCKEditor 使用方法
- FCKEditor 使用方法
- Fckeditor使用方法
- Fckeditor使用方法
- Fckeditor使用方法
- FCKeditor使用方法小结(php)
- FCKeditor 的使用方法
- FCKeditor使用方法小结
- ,NET中FCKeditor使用方法
- FCKeditor使用方法技术详解
- FCKEditor 的使用方法
- FCKeditor .Net 使用方法
- FCKeditor(asp.net)使用方法
- FCKeditor(CKeditor)使用方法
- 打包发布-静态库和动态库
- 题解:周期串(UVa 455)
- phpstrom terminal窗口更改字体
- 设计模式之6大设计原则
- Linux查找含有某字符串的所有文件
- Fckeditor使用方法
- 读几本书先
- eclipse/ android studio /win7系统 中如何查看SHA1码
- 摘录——世界是自己的,与他人毫无关系
- 初次安装genymotion打开虚拟机后一片空白
- 浅谈数据结构--红黑树
- 2017GDCPC赛后总结
- 解决微信端浏览器使用window.location.reload()刷新页面不生效
- 前端数字运算库Math.js