How to integrate CKEditor in GWT

后端 未结 4 878
挽巷
挽巷 2021-01-13 12:35

I\'m looking for a way to integrate CKEditor in my GWT project.

I\'ve made some googling and found this project: https://code.google.com/p/gwt-ckeditor/ which has be

4条回答
  •  悲&欢浪女
    2021-01-13 12:58

    Patrice's answer was very helpful, however it initially did not work for me because TextArea text = new TextArea(); was creating a TextArea with no id field. To solve this I just manually added an id field with:

    text.getElement().setId("make_up_an_id_name_here");
    

    Also make sure you put the ckeditor folder in your war directory.

    If you choose to link to it in your project_name.html file, add this line above the line that inserts your main ...nocache.js script:

    
    

提交回复
热议问题