开发者

Integration of CKEditor in Java

开发者 https://www.devze.com 2023-04-12 04:56 出处:网络
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 inst

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

精彩评论

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

关注公众号