Hi Marius, I tried the the first way, "i) access the editor in Java (GWT) code by writing a simple native getter", the dependency is killing me. I can not compile it use eclipse the dependency is the way too complicated. I tried use maven to build it, but I tried for a whole afternoon and I really don't know how to write the correct pom to compile them together. Could you please extend the native JavaScript API so that I can write something like: native void setBackgroudColor(String color) /*-{ editorJSReference.execute('backcolor', color); }-*/; Could you please also tell me what you did to extend the native JavaScript API, so I can learn about how to save the location of highlighted sentence to help software maintainer easily trace back to the high lighted document. If you want I can collect your reply and write document for you for this one too. Here is another problem, please see the screenshot: http://picasaweb.google.com/freeleons/Xwiki#5394862411574232850 in the WYSIWYG edit mode, the customized sidebar are disappeared, which means that I can not use the GWT tree to interact with the WYSIWYG editor. Is there anyway to keep the customized toolbar? I have finished the document writeup here is the url: http://dev.xwiki.org/xwiki/bin/view/Drafts/LoadingGWTApplicationsInXWik You are literally saving my life. Thank you so much!