fckeditor简单的应用---修改工具栏
来源:互联网 发布:广州疯狂java培训口碑 编辑:程序博客网 时间:2024/05/16 07:56
修改工具栏的属性:工具栏的相关属性存放在fckconfig.js这个文件中,其中在FCKConfig.ToolbarSets["Default"]这个位置
1.创建默认形式的fckeditor,如下图
//源代码<script type="text/javascript" src="fckeditor/fckeditor.js"></script>//引入fckeditor.js<form action="replyDeal.jsp" method="post"> <!-- <textarea name="cont" rows="15" cols="80"></textarea>--> <script type="text/javascript"> var oFCKeditor = new FCKeditor('cont');//cont是textarea的名字, oFCKeditor.BasePath = "fckeditor/";//设置fckeditor的根路径 oFCKeditor.Height = 300 ; oFCKeditor.Create() ; </script> <input type="submit" value="发表"/></form>
2.创建自定义的工具栏,如下图
//源代码<script type="text/javascript" src="fckeditor/fckeditor.js"></script>//引入fckeditor.js<form action="replyDeal.jsp" method="post"> <!-- <textarea name="cont" rows="15" cols="80"></textarea>--> <script type="text/javascript"> var oFCKeditor = new FCKeditor('cont');//cont是textarea的名字, oFCKeditor.BasePath = "fckeditor/";//设置fckeditor的根路径
oFCKeditor.Config["CustomConfigurationsPath"] = "myconfig.js";//自己定义工具栏的的js文件,编辑之后保存在editor目录下 oFCKeditor.ToolbarSet = "reply";//reply是在myconfig.js文件中指定自定义工具栏的名字 oFCKeditor.Height = 300 ; oFCKeditor.Create() ; </script> <input type="submit" value="发表"/></form>
- fckeditor简单的应用---修改工具栏
- FCKeditor 的修改及应用
- FCKeditor 修改工具栏在Firefox中
- 如何设定Fckeditor的工具栏
- java工具栏简单应用
- Fckeditor jsp使用实例,自定义Fckeditor的工具栏
- FCKeditor 工具栏不显示的一个可能性
- FCKeditor的php应用
- FCKeditor编辑器的应用
- FCKeditor的php应用
- FCKeditor 的简单配置
- fckeditor的简单使用
- FCKeditor(2.6)自定义工具栏
- FCKeditor工具栏功能说明
- FCKeditor工具栏功能说明
- FCKeditor隐藏工具栏
- fckeditor自定义工具栏控件
- FCKeditor中自定义工具栏
- 概率口诀
- 美好的未来需要克制忍耐..堕落史记录, 铭记不齿的行为, 以后杜绝发生. 年少之时, 血气未定, 戒之在色. ------[佛]
- Android控件开发之TimePicker
- c# 文件操作
- 缇与像素
- fckeditor简单的应用---修改工具栏
- 计算用于阴影剔除的包围体(shadow culling volume)
- 大质量法做地震行波效应输入的问题
- Python组元陷阱
- Mvvm Light Toolkit for wpf/silverlight系列之搭建mvvmlight开发框架 .
- VC-1、MPEG-2、AVS、H.264
- Rsync命令详解
- 程序员常犯的5个非技术性错误
- 对View DrawingCache的理解