用法
先将web.xml中的内容添加到工程的web.xml文件中。
添加FCKeditor-2.3.jar 到lib下。
添加FCKeditor-2.3.tld 到WEB-INF/tlds中.
页面中调用:
1 先引入tld包
<%@ taglib uri="/WEB-INF/tlds/FCKeditor.tld" prefix="FCKeditor"%>
2.添加
<FCKeditor:editor id="saleContent" basePath="FCKeditor/"
width="635"
height="400"
toolbarSet = "Default">
</FCKeditor:editor>
3.
<FCKeditor:editor id="saleContent" basePath="FCKeditor/"
width="635"
height="400"
toolbarSet = "Default">
修改的内容放到这里
</FCKeditor:editor>
先将web.xml中的内容添加到工程的web.xml文件中。
添加FCKeditor-2.3.jar 到lib下。
添加FCKeditor-2.3.tld 到WEB-INF/tlds中.
页面中调用:
1 先引入tld包
<%@ taglib uri="/WEB-INF/tlds/FCKeditor.tld" prefix="FCKeditor"%>
2.添加
<FCKeditor:editor id="saleContent" basePath="FCKeditor/"
width="635"
height="400"
toolbarSet = "Default">
</FCKeditor:editor>
3.
<FCKeditor:editor id="saleContent" basePath="FCKeditor/"
width="635"
height="400"
toolbarSet = "Default">
修改的内容放到这里
</FCKeditor:editor>
本文详细介绍了如何在项目中配置并使用FCKeditor富文本编辑器。包括将必要的文件添加到项目目录,以及如何在JSP页面中正确引用和设置编辑器的各项参数。
91

被折叠的 条评论
为什么被折叠?



