FCKEditor在线编辑器的使用
来源:互联网 发布:网络的缺点有哪些 编辑:程序博客网 时间:2024/05/05 01:50
FCKEditor在线编辑器是一个强大的开源富文本编辑器,各个语言中都可以使用。支持上传图片、Flash等,功能强扩展性强。
今天写一下PHP中FCKEditor的配置与使用
在使用FCKEditor的时候,只要在PHP文件中加入以下代码
在PHP文件中加入以上代码后我们就可以使用FCKEditor了,在要接收FCKEditor的值的时候,就可以用POST方式获取了。
今天写一下PHP中FCKEditor的配置与使用
在使用FCKEditor的时候,只要在PHP文件中加入以下代码
<?php
//引用FCKeditor.php这个文件,基本的类和数据结构都在这里
include ("fckeditor/fckeditor.php");
//创建FCKeditor对象的实例。myFCKeditor即提交后,接收数据页面 _POST['myFCKeditor']使用
$FCKeditor = new FCKeditor("content");
//FCKeditor所在的位置,这里它的位置就是'FCKEditor‘ 文件夹
$FCKeditor -> BasePath='./fckeditor/';
//工具按钮设置,工具按钮设置FCKeditor提供了Basic(基础工具)和Default(全部工具)供我们选择,当然我们也可是以在FCKEditor的类文件中设置我们想要使用的工具组合
$FCKeditor -> ToolbarSet="Default";
//设置它的宽度
$FCKeditor -> Width='500px';
//设置它的高度
$FCKeditor -> Height='300px';
//生成
$FCKeditor -> Create();
?>
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKeditor在线编辑器的使用
- FCKEditor在线编辑器的使用
- fckeditor 在线编辑器使用
- 在线编辑器fckeditor的使用和配置
- FCKeditor在线编辑器的使用小结
- 在线编辑器fckeditor的使用和配置
- JSP中FCKeditor在线编辑器的使用
- 在线编辑器Fckeditor的使用(一)
- 在线编辑器fckeditor的学习使用
- FileItem类的常用方法
- adb shell top
- DiskFileItemFactory类
- 别把自己太当回事
- ServletFileUpload 类
- FCKEditor在线编辑器的使用
- Apache ---- DBUilts框架源码
- Apache----DBUtils框架
- C3P0开源数据库连接池的编写源码
- 上传文件中应当注意的细节
- DBCP开源数据库连接池的编写源码
- Smarty案例
- 合作开发小结
- Jndi技术----与数据库的连接(tomcat)