[xwiki-devs] Fwd: Adding a customer plugin to the wysiwyg editor
Hi Josef, Yes, you can put your design proposal on the Design space and I'll be happy to help you both with the design and the implementation. It's best if we keep the discussion on the devs mailing list so that everyone can participate. I don't have any advice/recommendation for now regarding the proposal but I'll review and comment it as soon as you have something written down. Of course, don't hesitate to ask me any question regarding the WYSIWYG editor. Thanks, Marius ---------- Forwarded message ---------- From: Haimerl, Josef <[email protected]> Date: Mon, Jun 17, 2013 at 11:34 AM Subject: Adding a customer plugin to the wysiwyg editor To: "[email protected]" <[email protected]> Dear Marius,**** ** ** as already brought up on the XWiki mailing list, we want to implement a customer plugin to the wysiwyg editor and contribute it. Our head approved that now and we want to post a design proposal to arrange things with the community. We would do that here<http://dev.xwiki.org/xwiki/bin/view/Design/WebHome>- is this the right place? Also I would see you from now on as my contact person for this subject or maybe you tell me who’s the right one.**** Also if you have an further advice or recommendation we should consider, when we put down the design proposal, we would be happy. **** ** ** Regards **** Josef Haimerl**** Projektleiter**** [image: Banner_E-Mail] <http://www.de-gmbh.com/brandaktuell.html>**** ** ** DE software & control GmbH Mengkofener Str. 21, D-84130 Dingolfing Fon: +49 8731 3797-0; Fax: +49 8731 3797-29 http://www.de-gmbh.com Geschäftsführung: Friedrich Steininger, Heino Migge, Onur Mubariz Amtsgericht Landshut, HRB 4478**** ** **
Hi Marius, Could you explain me your setup for debugging the WYSIWYG editor? I already took a look at http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse, did you already find a way to support the new wysiwyg? Are there any other documents available I missed out? Regards Josef -- View this message in context: http://xwiki.475771.n2.nabble.com/Fwd-Adding-a-customer-plugin-to-the-wysiwy... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi Josef, On Tue, Jun 18, 2013 at 5:59 PM, jhaimerl <[email protected]> wrote:
Hi Marius,
Could you explain me your setup for debugging the WYSIWYG editor?
What I'm doing it pretty basic (nothing integrated): * I take a recent XWiki snapshot (jetty+hsqldb) from http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-jetty... * unpack the zip and start XWiki * I edit the code in Eclipse. I import only the code I'm working on (say xwiki-platform-wysiwyg-client or xwiki-platform-wysiwyg-server) * I prefer to build from console. * For the server side I build xwiki-platform-wysiwyg-server, replace the jar in WEB-INF/lib, restart the server in debug mode and debug with Eclipse using Java Remote Debugging. * For the client side I build xwiki-platform-wysiwyg-client (and whatever dependencies I change, like xwiki-platform-gwt-user) and then I build xwiki-platform-wysiwyg-war with -Pdev . This way only one permutation is generated for each browser and the code is not obfuscated. ** I replace (delete + copy) resources/js/xwiki/wysiwyg/xwe folder with the one from the generated xwiki-platform-wysiwyg-war ** clear browser cache, reload, check with Firebug / Dev Tools what is the loaded permutation ** edit the right permutation, find the right spot, put break points ('debugger') or change things ** debug in browser In the past I used the GWT dev mode with the dedicated browser plugin but now I mostly debug directly the generated JavaScript code.
I already took a look at http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse, did you already find a way to support the new wysiwyg?
I don't use it, but you should be able to automate some of the steps I listed above. Hope this helps, Marius
Are there any other documents available I missed out?
Regards
Josef
-- View this message in context: http://xwiki.475771.n2.nabble.com/Fwd-Adding-a-customer-plugin-to-the-wysiwy... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
jhaimerl -
Marius Dumitru Florea