开发者

Integration of CKEditor in Java

I am trying to integrate CKEditor in Netbeans to 开发者_开发百科my simple web application. I did follow the documentation given in their official site, but cudnt install. It just shows a textarea instead of the editor. Is there any tutorial on how to integrate or can anyone help me on this?

Thanks, Shilpa


it seems you are missing to load css & js files. please check again & tell me if css & js files is downloaded & working.

Integration of CKEditor in Java


You just have get ckeditor folder from http://ckeditor.com and put it outside the WEB-INF folder.And keep the ckeditor jar file in WEB-INF/lib folder.If you use jsp page get the include this tag in your page <%@ taglib prefix="ckeditor" uri="http://ekeditor.com"%> and in the body section of the html page create one textarea and replace it with <ckeditor:replace parameters />.

If you want to write all the toolbars and events in java and get them into jsp page use script lets and import these libraries. <% import page="com.ckeditor.EventHandler"%>. If you want more examples on java refer here http://svn.ckeditor.com/CKEditor.Java. Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜