Got it, Thanks Dave On Tue, May 29, 2012 at 3:56 AM, Marius Dumitru Florea < [email protected]> wrote:
In this case you don't need to modify any JavaScript file. You can write a JavaScript extension [1], load it only on edit action and use the WYSIWYG editor API [2] to access the editor and inject the buttons on the tool bar.
Hope this helps, Marius
[1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMi... [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#H...
On Mon, May 28, 2012 at 5:25 PM, Geo Du <[email protected]> wrote:
Hi, all,
I am trying to add buttons on the wysiwyg or inline form editor toolbar, I checked the wysiwyg gwt source code, and the wysiwyg.js file, I am more toward add javascript code in wysiwyg.js file to add javascript code for buttons on the toolbar, instead of adding java code for the plugin, any suggestions?
Thanks in advance
Dave _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs