FCKEditor 的官方下载:
http://sourceforge.net/projects/fckeditor/
2.6版本的一个简单示例,下载地址:http://download.csdn.net/source/2800336(PS:不是我不想在JAVAEYE直接上传,但上传两次都没成功,故改CSDN)
主要开发步骤:
1.下载官方包
2.导入对于开发语言需要的一些文件
3.页面引用,如
<!-- FCKEditor -->
<link href="<%=basePath %>fckeditor/_samples/sample.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath %>fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function(){
//var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
var sBasePath = "<%=basePath %>fckeditor/";
//alert(sBasePath);
var oFCKeditor = new FCKeditor( 'contents' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
<!-- end of FCKEditor -->
:
4:修改原来的textarea代码:
<textarea name="contents" rows="10" cols="80" style="width: 100%; height: 200px">input something here ...</textarea>
需要注意的就是,textarea的名字和JS中构造的FCKeditor的名字相同
分享到:
相关推荐
FckeditorDemo,非常好的编辑器的demo
FCKeditor demo(用JS方式)
java 版的在线编辑,很好的一个demo,希望对大家有所帮助
FCKeditorDemo,教你如何使用FCKeditor的相关资料,以及调试方法和配色方案。
fckeditor 源码 demo fckeditor 源码 demo fckeditor 源码 demo fckeditor 源码 demo
ASP.NET MVC FCKEditor Demo ,富文本编辑控件FCKEditor和ASP.NET MVC 结合使用,代码简单易懂,适用于学习FCKEditor 结合asp.net mvc的初学者使用。
FCKEditor 的官方下载: http://sourceforge.net/projects/fckeditor/ 主要开发步骤: 1.下载官方包(工程src下的zip为目前最新版本) 2.导入对于开发语言需要的一些文件 3.页面引用,如: <!-- FCKEditor --> ...
fckeditor、 demo类库、工具用 自己下的类库,加载项目中就可以用,
一个简易的word功能的编辑器 一般都是集成在其他项目的下面 方便对图片的处理
fckeditor 2.6.3的完整实例,maven依赖管理,自定义配置文件引用,自定义工具栏,自定义表情,自定义模板,中文文件名乱码处理,中文文件夹创建乱码处理,中文图片名引用乱码处理,上传文件名自定义,fckeditor在...
类似RICHTEXTBOX这种东东简直是鸡肋,几乎没什么价值(我以前也写过一个,后来用上FCKEDITOR后彻底扔了) FCKEDITOR是使用JAVASCRIPT编写的面向对象的在线编辑器,它兼容各种浏览器 提供强大的功能和良好的可定制性,...
FCKEditor的例子,在eclipse下开发配置的,很实用,所见即得
FCKEditorDemoFCKEditorDemoFCKEditorDemoFCKEditorDemoFCKEditorDemo
FCKeditor_2.6.6.zip and FCKeditor_demo.zip.rar FCKeditor-java-core-2.6.jar
这个是java开发的fckeditor的demo,还不错
FCKeditor_2.6.5.zip,fckeditor-java-demo-2.5.war
fckeditor-java-demo-2.4.1.war
fckeditor2.5资源关于fckeditor-java-demo-2.5.war下载
FCKeditor_2.6.4.1 demo