Hi again, There is a serious bug which makes the wysiwyg editor fail because the Rt code loads on wysiwyg. With the code in the JS Extension var isRealtimeMode = function() { return (window.location.hash == '#RealTime'); }; #if ("$!request.lazy" != "true") if (isRealtimeMode()) { Rt.load(); } It allows to avoid loading conflicting code when in wysiwyg. Ludovic 2012/10/17 Ludovic Dubost <[email protected]>
Hi Caleb,
This is great progress ! Way to go.
Some improvements, sorted by priority from my POV:
- Support real-time editing on an object Textarea field - The current textarea does not allow to do a select All of the text - XEM compatibility either as an extension for the global wiki, or as a template based install (right now you have to install the XAR in each wiki) - Install through extension manager - See who's editing - Auto-saving - Handling merging if there has been a concurrent editing - Support a live switch from wiki editing to real-time editing
Ludovic
2012/10/17 Vincent Massol <[email protected]>
Hi Caleb,
Ok I've played with it, very cool! :)
Some next steps: * Make it a real extension installable with the Extension Manager: ** Move the project to xwiki-contrib and release a first 1.0 version of the JAR and XAR in the xwiki maven repo for contrib
Slightly later: * Add an Extension Point for the Edit menu and transform the JS Skin extension into a UI Extension
Of course in term of the editor itself there are a few things to improve. Some ideas: * Release the lock only when all the editors have either cancelled or saved the document so that someone who edits in wiki mode gets a lock dialog box if someone is still editing it * See who's editing + colors to differentiate users * Use a textarea similar to the wiki editor one (no line number, same font, etc)
Thanks -Vincent
On Oct 17, 2012, at 8:57 AM, Vincent Massol <[email protected]> wrote:
Hi Caleb,
What a nice morning treat! :)
I'll check it out later today.
Thanks -Vincent
On Oct 17, 2012, at 7:12 AM, Caleb James DeLisle < [email protected]> wrote:
Hi guys,
I just finished repackaging the realtime collaborative editor which was developed as part of wiki/3.0. It is now installable as an extension. It's still a bit rough around the edges but it's pretty safe to play with so everyone is invited to give it a try.
* Multiple users can edit the same document at the same time and their changes are merged in real time.
* The "RealTime Wiki" editor is an option along side WYSIWYG and Wiki so it won't break existing editors.
* Easy installation by copying a .jar file and importing a .xar file, removal is simply deleting 2 XDocuments.
http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
Please feel free to share your experiences in the mailing list, on the
extension wiki page and on the
github bug tracker.
Thanks, Caleb
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost