Extension talk:TogetherJS
Add topicThis page used the LiquidThreads extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Use cases
[edit]I've described two basic use cases on the page now, but there are probably more. People should add to it. :) Steven Walling (WMF) • talk 21:18, 20 September 2013 (UTC)
The logo of TogetherJS is not visible in editing toolbar.
[edit]File "ext.togetherjs.js"
line 30
Change
imageFile: '//pinklake.wmflabs.org/extensions/TogetherJS/togetherjs/images/togetherjs-logo.png',
to
imageFile: '//raw.github.com/ianb/togetherjs/master/site/images/togetherjs-logo.png',
or just copy the image into your Mediawiki folder and change the path accordingly. Gleki.arxokuna (talk) 07:10, 7 March 2014 (UTC)
Not working with VisualEditor
[edit]I implemented a similar js patch for TogetherJS which works great with WikiEditor but not with VisualEditor. the TogetherJS is launched but no edit can be seen mutually. I think it has to do with the major changes that were done in VE since this extension was first released. Any idea for the source of the problem will be great. Wess (talk) 23:18, 9 March 2015 (UTC)
- Yes, I haven't finished updating the extension to match the latest version of Visual Editor. https://gerrit.wikimedia.org/r/187409 is probably the patch to watch. cscott (talk) 16:39, 10 March 2015 (UTC)
- This is good news. Do you have any idea for assuming when such update might be available?
- I also tried to implement TogetherJS by myself (JavaScript only), and had the same problem. Can you help me understand why does VisualEditor behaves differently in TJS? Wess (talk) 10:57, 11 March 2015 (UTC)
- You should study the plugins that TogetherJS has for the other rich text editors it supports: ACE is one. TogetherJS needs hooks into the editor in order to synchronize its model with the code editors internal model. For Visual Editor, this consists of hooks into Visual Editors internal "transaction" system. cscott (talk) 15:29, 11 March 2015 (UTC)
- Thanks. Looks too complicated for me right now, but I will keep an eye on it. Wess (talk) 16:44, 12 March 2015 (UTC)
- You should study the plugins that TogetherJS has for the other rich text editors it supports: ACE is one. TogetherJS needs hooks into the editor in order to synchronize its model with the code editors internal model. For Visual Editor, this consists of hooks into Visual Editors internal "transaction" system. cscott (talk) 15:29, 11 March 2015 (UTC)