Jump to content

Extension talk:TogetherJS

About this board

Not working with VisualEditor

5
Wess (talkcontribs)

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.

Cscott (talkcontribs)
Wess (talkcontribs)

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?

Cscott (talkcontribs)

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.

Wess (talkcontribs)

Thanks. Looks too complicated for me right now, but I will keep an eye on it.

Reply to "Not working with VisualEditor"

The logo of TogetherJS is not visible in editing toolbar.

1
Gleki.arxokuna (talkcontribs)

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.

Reply to "The logo of TogetherJS is not visible in editing toolbar."
Steven (WMF) (talkcontribs)

I've described two basic use cases on the page now, but there are probably more. People should add to it. :)

Reply to "Use cases"
There are no older topics