On Thu, May 24, 2012 at 1:38 PM, jinlong liu <[email protected]> wrote:
Hello ,I want to add a button which is not contained in xwiki by default, on the toolbar of the wysiwyg editor ,I have read the java source of it ,and still have some problems .So I want to know is there any document about this , for the plugin contains so complex and unfamiliar class to me that I was puzzled(Of course ,most of the reason is that I am a newbie in programmes. ) .Thank you .
I don't think there is any tutorial on this topic, but looking at the source code and starting from an existing simple plugin should be pretty easy provided you know Java and GWT. If you're move familiar with JavaScript then you could also write a JavaScript extension that injects a button on the tool bar and uses http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#H... to access the editor. Hope this helps, Marius
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs