How to enable realtime collaborative editor?

I installed Realtime Collaborative Plain WikiText Editor but I don’t know how to turn it on.

I searched admin pages but nothing found.

  • XWIKI: 10.11.9

Hi, there’s nothing to do to use it :slight_smile: You just edit in wiki mode.

However I don’t know how well it works or if it works at all. As you can see (on https://extensions.xwiki.org/xwiki/bin/view/Main/ or in the Extension Manager of your wiki) it’s not a recommended extension and it’s not developed by the XWiki dev team so we can’t guarantee it works.

I’ve tried it quickly and it doesn’t work for me. I got an error message:

Note that you need to open a port if you’re behind a firewall, see the doc at https://extensions.xwiki.org/xwiki/bin/view/Extension/RtWiki#HPrerequisites26InstallationInstructions

FWIW and FTR I got some warnings and errors in the logs:

2020-06-12 10:11:06,207 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] WARN  o.a.v.introspection            - Deprecated usage of method [org.xwiki.velocity.tools.JSONTool.parse] in xwiki:RTFrontend.GetKey@7,29 
2020-06-12 10:11:06,217 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 14, column 6] 
2020-06-12 10:11:06,222 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:06,223 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 14, column 6] 
2020-06-12 10:11:06,223 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:06,223 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:06,223 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 14, column 6] 
2020-06-12 10:11:06,224 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:19,491 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] WARN  o.a.v.introspection            - Deprecated usage of method [org.xwiki.velocity.tools.JSONTool.parse] in xwiki:RTFrontend.GetKey@7,29 
2020-06-12 10:11:19,492 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 14, column 6] 
2020-06-12 10:11:19,493 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:19,493 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:19,494 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 14, column 6] 
2020-06-12 10:11:19,494 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:19,494 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 
2020-06-12 10:11:19,494 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 14, column 6] 
2020-06-12 10:11:19,495 [http://localhost:8080/xwiki/bin/get/RTFrontend/GetKey?outputSyntax=plain&] ERROR o.a.v.rendering                - reference set is not a valid reference at xwiki:RTFrontend.GetKey[line 24, column 6] 

Thanks a lot. As you suggested, the cause is that I didn’t mapping the websocket port (8093) to the outside of the container. After mapping the port, everything is working now.

Did you use a docker container? I am trying to enable this port too but I am really lost.
First of all, where do I find the correct port? Where can I see that this is actually the issue? Because I dont really see any hint to the issue. Just trying to enable the editor.
I am using a docker-compose file to start the wiki with a treafik proxy. So everything not so easy.
I would appreciate any details on how you map the websocket port for your container.

Hey, I’m facing the exact same problem but dont know where or how I have to map the websocket port. Could you please post how you did it?