[xwiki-devs] How to run RTWysiwyg extension not in demo mode?
I need a realtime collaboration editor for xwiki (it will be used as collaboration tool for people who edit the same document at the same time). I integrate xwiki with my app. I checked http://realtime.webviewers.org/xwiki/bin/view/Demos/RTAdvancedWysiwyg it works nice and I would like to implement it without demo mode but I don't know how. There is the following code: {{velocity output=\"none\"}} $xwiki.jsx.use(\"RTWysiwyg.WebHome\", {\"demoMode\":true}) I tried to change demoMode parameter, but I don't know how to persist data. Could you give any useful link how to use the extension in real app? Thanks in advance! -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
The code on realtime.webviewers.org is based on version 1.3 of http://extensions.xwiki.org/xwiki/bin/view/Extension/RtWysiwyg Note that it's 1.3 and not the latest version 1.5, 1.5 relies on the XWiki CKEditor plugin. Thanks, Caleb On 15/03/16 17:18, abtv wrote:
I need a realtime collaboration editor for xwiki (it will be used as collaboration tool for people who edit the same document at the same time). I integrate xwiki with my app. I checked http://realtime.webviewers.org/xwiki/bin/view/Demos/RTAdvancedWysiwyg it works nice and I would like to implement it without demo mode but I don't know how.
There is the following code: {{velocity output=\"none\"}} $xwiki.jsx.use(\"RTWysiwyg.WebHome\", {\"demoMode\":true}) I tried to change demoMode parameter, but I don't know how to persist data. Could you give any useful link how to use the extension in real app?
Thanks in advance!
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I see. I just checked if it works. I use version 1.4 and it works only in demo mode. I can't find out how to run it in production mode (with ability to save pages). Could you help with it, please? Or I should wait until 1.5 version will be available? I would like to put at least previous version in production. -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Perhaps you would like to try updating to the most recent version which uses XWiki CKEditor, when you use this version you should have realtime whenever you select the "CKEditor" option for editing a page. As you know from the page though, both XWiki/CKEditor and XWiki Realtime WYSIWYG are experimental technologies, your help with reporting bugs is most appreciated. Thanks, Caleb On 16/03/16 12:23, abtv wrote:
I see. I just checked if it works. I use version 1.4 and it works only in demo mode. I can't find out how to run it in production mode (with ability to save pages). Could you help with it, please? Or I should wait until 1.5 version will be available? I would like to put at least previous version in production.
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 16/03/16 12:23 PM, abtv wrote:
I see. I just checked if it works. I use version 1.4 and it works only in demo mode. I can't find out how to run it in production mode (with ability to save pages). Could you help with it, please? Or I should wait until 1.5 version will be available? I would like to put at least previous version in production.
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hello, I'm the developer that is currently working on this extension. I expect to push a version 1.6 tonight which will address some issues we found after testing in more environments. It's still quite experimental, but it should be suitable for users to at least try. Aaron MacSween
There is the following in content of WYSIWYG page: <div id="xwikieditcontent"> <textarea id="realtime_wysiwyg_demo" style="height:385px; width:100%;" cols="0" rows="0"> </textarea> </div> I see id="realtime_wysiwyg_demo" and I wonder if the extension can save and load content. Is it possible or it's just demo which allows to edit only current content without persistance? I don't see any js code for saving/loading data (but there are css styles and js code for demo purposes). Could you help me with this? -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi, If you want to test the RTWysiwyg Editor, what you should do is install the RTWysiwyg Extension from the "Extension Manager" in your wiki. This should also pull the CKEditor extension in version 1.3. Once you have it installed you should be able to edit a document using the CKEditor from the Edit Menu drop down (you need to have Advanced mode activated). We are still working both on CKEditor and on realtime so there might be bugs. You can report them at https://jira.xwiki.org/browse/RTWYSIWYG With that you will get edit and save, but not with the demo from webviewers. I hope this helps. Ludovic -- *Ludovic Dubost* *Founder and CEO* [email protected] skype: ldubost Blog: http://blog.ludovic.org On Thu, Mar 17, 2016 at 9:12 AM, abtv <[email protected]> wrote:
There is the following in content of WYSIWYG page:
<div id="xwikieditcontent"> <textarea id="realtime_wysiwyg_demo" style="height:385px; width:100%;" cols="0" rows="0">
</textarea> </div>
I see id="realtime_wysiwyg_demo" and I wonder if the extension can save and load content. Is it possible or it's just demo which allows to edit only current content without persistance? I don't see any js code for saving/loading data (but there are css styles and js code for demo purposes). Could you help me with this?
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
It doesn't work for me: I open two browsers with 2 different users and open page with CKEditor. When I try to change the page by the first user I receive `The realtime session produced a document that could not be rendered locally` error in another browser for the second user. What can be a source of the problem? -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi, Could you tell us which version of CKEditor + Realtime you currently have installed in your wiki and post the URL you have open on each computer + a screenshot so that we can verify that you are in a right place Ludovic -- *Ludovic Dubost* *Founder and CEO* [email protected] skype: ldubost Blog: http://blog.ludovic.org On Wed, Mar 30, 2016 at 11:40 AM, abtv <[email protected]> wrote:
It doesn't work for me: I open two browsers with 2 different users and open page with CKEditor. When I try to change the page by the first user I receive `The realtime session produced a document that could not be rendered locally` error in another browser for the second user. What can be a source of the problem?
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Visual Realtime Collaborative Editor (EXPERIMENTAL) 1.9 CKEditor WebJar 1.3 CKEditor Integration 1.3 <http://xwiki.475771.n2.nabble.com/file/n7598721/wiki2.jpg> -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
So Aaron would have to look at this..Maybe it's a issue specific to the Russian setup. Have you tried with your wiki set in English and typing only english characters ? You can report bugs here: https://jira.xwiki.org/browse/RTWYSIWYG What would help is what exact steps you used and what content you have at the beginning in your document and what you typed. Ludovic -- *Ludovic Dubost* *Founder and CEO* [email protected] skype: ldubost Blog: http://blog.ludovic.org On Wed, Mar 30, 2016 at 12:00 PM, abtv <[email protected]> wrote:
Visual Realtime Collaborative Editor (EXPERIMENTAL) 1.9 CKEditor WebJar 1.3 CKEditor Integration 1.3
<http://xwiki.475771.n2.nabble.com/file/n7598721/wiki2.jpg>
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
It's very easy to reproduce. I just downloaded standalone xwiki 8.0 from the link http://download.forge.ow2.org/xwiki/xwiki-enterprise-jetty-hsqldb-8.0.zip and installed rtwysiwyg extension via extension manager. Then created a page http://localhost:8080/xwiki/bin/view/Default/ , then created the second user, opened in another browser the same page and received the same error about rendering. -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Can you check it on a 7.x version and report in a bug what you see in the js console Ludovic On Mar 30, 2016 1:27 PM, "abtv" <[email protected]> wrote:
It's very easy to reproduce. I just downloaded standalone xwiki 8.0 from the link http://download.forge.ow2.org/xwiki/xwiki-enterprise-jetty-hsqldb-8.0.zip and installed rtwysiwyg extension via extension manager. Then created a page http://localhost:8080/xwiki/bin/view/Default/ , then created the second user, opened in another browser the same page and received the same error about rendering.
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I've just checked standalone xwiki 7.4.2 and received the following: CKEditor detected, loading realtime WYSIWYG code... realtime-wysiwyg.js?cb=1459339140139:72 Creating realtime toggle realtime-cleartext.js?cb=1459339140139:40 started chainpad.js?cb=1459339140139:569 [xwiki:XWiki.a-a%20a%2d7287125939759673] registered realtime-wysiwyg.js?cb=1459339140139:191 Realtime is ready! realtime-wysiwyg.js?cb=1459339140139:203 Readying new document cursor.js?cb=1459339140139:10 [cursor.update] no ranges found VM961:1 Uncaught SyntaxError: Unexpected end of input -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Can you verify if you get the same error if you click inside the editing zone of both editors before trying to send text from one of them Ludovic -- *Ludovic Dubost* *Founder and CEO* [email protected] skype: ldubost Blog: http://blog.ludovic.org On Wed, Mar 30, 2016 at 2:00 PM, abtv <[email protected]> wrote:
I've just checked standalone xwiki 7.4.2 and received the following:
CKEditor detected, loading realtime WYSIWYG code... realtime-wysiwyg.js?cb=1459339140139:72 Creating realtime toggle realtime-cleartext.js?cb=1459339140139:40 started chainpad.js?cb=1459339140139:569 [xwiki:XWiki.a-a%20a%2d7287125939759673] registered realtime-wysiwyg.js?cb=1459339140139:191 Realtime is ready! realtime-wysiwyg.js?cb=1459339140139:203 Readying new document cursor.js?cb=1459339140139:10 [cursor.update] no ranges found VM961:1 Uncaught SyntaxError: Unexpected end of input
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I received this error immediately after I choose `CKEditor` edit option. I haven't entered any text yet. Did you ask about this? -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
More info here. I use Chromium browser under Ubuntu 14.04 (Russian). All what I type are latin symbols. First user console: CKEditor detected, loading realtime WYSIWYG code... realtime-wysiwyg.js?cb=1459339140139:72 Creating realtime toggle realtime-cleartext.js?cb=1459339140139:40 started chainpad.js?cb=1459339140139:569 [xwiki:XWiki.a-a%20a%2d7287125939759673] registered realtime-wysiwyg.js?cb=1459339140139:191 Realtime is ready! realtime-wysiwyg.js?cb=1459339140139:203 Readying new document cursor.js?cb=1459339140139:10 [cursor.update] no ranges found VM961:1 Uncaught SyntaxError: Unexpected end of inputconfig.onRemote @ realtime-wysiwyg.js?cb=1459339140139:180config.onReady @ realtime-wysiwyg.js?cb=1459339140139:204(anonymous function) @ realtime-cleartext.js?cb=1459339140139:226userListChange @ chainpad.js?cb=1459339140139:916ChainPad.handleMessage @ chainpad.js?cb=1459339140139:935(anonymous function) @ chainpad.js?cb=1459339140139:1193(anonymous function) @ chainpad.js?cb=1459339140139:564(anonymous function) @ realtime-cleartext.js?cb=1459339140139:253(anonymous function) @ realtime-cleartext.js?cb=1459339140139:131(anonymous function) @ reconnecting-websocket.js?cb=1459339140139:179ws.onmessage @ reconnecting-websocket.js?cb=1459339140139:278 realtime-wysiwyg.js?cb=1459339140139:217 userlist change realtime-wysiwyg.js?cb=1459339140139:218 There are now 2 users realtime-wysiwyg.js?cb=1459339140139:219 ["xwiki:XWiki.a-a%20a%2d7287125939759673", "xwiki:XWiki.Admin-Administrator%2d5694996058021031"] realtime-wysiwyg.js?cb=1459339140139:217 userlist change realtime-wysiwyg.js?cb=1459339140139:218 There are now 1 users realtime-wysiwyg.js?cb=1459339140139:219 ["xwiki:XWiki.a-a%20a%2d7287125939759673"] realtime-wysiwyg.js?cb=1459339140139:217 userlist change realtime-wysiwyg.js?cb=1459339140139:218 There are now 2 users realtime-wysiwyg.js?cb=1459339140139:219 ["xwiki:XWiki.a-a%20a%2d7287125939759673", "xwiki:XWiki.Admin-Administrator%2d047279996211056385"] chainpad.js?cb=1459339140139:569 [xwiki:XWiki.a-a%20a%2d7287125939759673] applying [26993dd190c641e0db20832c0cedaba129c472a5b5a3527d0a94adc611032854] chainpad.js?cb=1459339140139:569 [xwiki:XWiki.a-a%20a%2d7287125939759673] applying [7d765bce1e40f5697983c27a4953980435bc6975d4ed381b3276bf34ca5412e7] chainpad.js?cb=1459339140139:569 [xwiki:XWiki.a-a%20a%2d7287125939759673] applying [176d02af3597c586756bb34fcad5148d97f0a662c776d9cab1692c36ae898864] chainpad.js?cb=1459339140139:569 [xwiki:XWiki.a-a%20a%2d7287125939759673] applying [9dcbd67c3385b17141bda7e16af95478b9432685eb5df5a5bb0e51d76d84f7cd] The second user console: CKEditor detected, loading realtime WYSIWYG code... realtime-wysiwyg.js?cb=1459339284312:72 Creating realtime toggle realtime-cleartext.js?cb=1459339284312:40 started chainpad.js?cb=1459339284312:569 [xwiki:XWiki.Admin-Administrator%2d047279996211056385] registered realtime-wysiwyg.js?cb=1459339284312:191 Realtime is ready! realtime-wysiwyg.js?cb=1459339284312:203 Readying new document cursor.js?cb=1459339284312:10 [cursor.update] no ranges found VM1044:1 Uncaught SyntaxError: Unexpected end of inputconfig.onRemote @ realtime-wysiwyg.js?cb=1459339284312:180config.onReady @ realtime-wysiwyg.js?cb=1459339284312:204(anonymous function) @ realtime-cleartext.js?cb=1459339284312:226userListChange @ chainpad.js?cb=1459339284312:916ChainPad.handleMessage @ chainpad.js?cb=1459339284312:935(anonymous function) @ chainpad.js?cb=1459339284312:1193(anonymous function) @ chainpad.js?cb=1459339284312:564(anonymous function) @ realtime-cleartext.js?cb=1459339284312:253(anonymous function) @ realtime-cleartext.js?cb=1459339284312:131(anonymous function) @ reconnecting-websocket.js?cb=1459339284313:179ws.onmessage @ reconnecting-websocket.js?cb=1459339284313:278 chainpad.js?cb=1459339284312:569 [xwiki:XWiki.Admin-Administrator%2d047279996211056385] applying [26993dd190c641e0db20832c0cedaba129c472a5b5a3527d0a94adc611032854] cursor.js?cb=1459339284312:10 [cursor.update] no ranges found realtime-wysiwyg.js?cb=1459339284312:166 [applyHjson] err converting hyperjson to dom realtime-wysiwyg.js?cb=1459339284312:167 DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided must not be empty.(…)applyHjson @ realtime-wysiwyg.js?cb=1459339284312:167config.onRemote @ realtime-wysiwyg.js?cb=1459339284312:181(anonymous function) @ realtime-cleartext.js?cb=1459339284312:264(anonymous function) @ realtime-cleartext.js?cb=1459339284312:131(anonymous function) @ reconnecting-websocket.js?cb=1459339284313:179ws.onmessage @ reconnecting-websocket.js?cb=1459339284313:278 chainpad.js?cb=1459339284312:569 [xwiki:XWiki.Admin-Administrator%2d047279996211056385] applying [7d765bce1e40f5697983c27a4953980435bc6975d4ed381b3276bf34ca5412e7] cursor.js?cb=1459339284312:10 [cursor.update] no ranges found realtime-wysiwyg.js?cb=1459339284312:166 [applyHjson] err converting hyperjson to dom realtime-wysiwyg.js?cb=1459339284312:167 DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided must not be empty.(…)applyHjson @ realtime-wysiwyg.js?cb=1459339284312:167config.onRemote @ realtime-wysiwyg.js?cb=1459339284312:181(anonymous function) @ realtime-cleartext.js?cb=1459339284312:264(anonymous function) @ realtime-cleartext.js?cb=1459339284312:131(anonymous function) @ reconnecting-websocket.js?cb=1459339284313:179ws.onmessage @ reconnecting-websocket.js?cb=1459339284313:278 chainpad.js?cb=1459339284312:569 [xwiki:XWiki.Admin-Administrator%2d047279996211056385] applying [176d02af3597c586756bb34fcad5148d97f0a662c776d9cab1692c36ae898864] cursor.js?cb=1459339284312:10 [cursor.update] no ranges found realtime-wysiwyg.js?cb=1459339284312:166 [applyHjson] err converting hyperjson to dom realtime-wysiwyg.js?cb=1459339284312:167 DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided must not be empty.(…)applyHjson @ realtime-wysiwyg.js?cb=1459339284312:167config.onRemote @ realtime-wysiwyg.js?cb=1459339284312:181(anonymous function) @ realtime-cleartext.js?cb=1459339284312:264(anonymous function) @ realtime-cleartext.js?cb=1459339284312:131(anonymous function) @ reconnecting-websocket.js?cb=1459339284313:179ws.onmessage @ reconnecting-websocket.js?cb=1459339284313:278 chainpad.js?cb=1459339284312:569 [xwiki:XWiki.Admin-Administrator%2d047279996211056385] applying [9dcbd67c3385b17141bda7e16af95478b9432685eb5df5a5bb0e51d76d84f7cd] cursor.js?cb=1459339284312:10 [cursor.update] no ranges found realtime-wysiwyg.js?cb=1459339284312:166 [applyHjson] err converting hyperjson to dom realtime-wysiwyg.js?cb=1459339284312:167 DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided must not be empty.(…)applyHjson @ realtime-wysiwyg.js?cb=1459339284312:167config.onRemote @ realtime-wysiwyg.js?cb=1459339284312:181(anonymous function) @ realtime-cleartext.js?cb=1459339284312:264(anonymous function) @ realtime-cleartext.js?cb=1459339284312:131(anonymous function) @ reconnecting-websocket.js?cb=1459339284313:179ws.onmessage @ reconnecting-websocket.js?cb=1459339284313:278 -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
This problem takes place in both localized and non-localized setups. -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi, We've managed to reproduce the issue. Apparently 1.8 and 1.9 have a bad issue that breaks the editing quite fast. You can try 1.7 which is more stable (still has some known issues on complex simultaneous changes though). To install and older version go to "List stable versions" under "Description" in the extension manager entry. Ludovic -- *Ludovic Dubost* *Founder and CEO* [email protected] skype: ldubost Blog: http://blog.ludovic.org On Wed, Mar 30, 2016 at 3:03 PM, abtv <[email protected]> wrote:
This problem takes place in both localized and non-localized setups.
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Unfortunately, I have the same problem with 1.7 under xwiki 7.4.2 (Jetty + hsqldb): CKEditor detected, loading realtime WYSIWYG code... realtime-wysiwyg.js?cb=1459352454915:72 Creating realtime toggle realtime-cleartext.js?cb=1459352454915:40 started chainpad.js?cb=1459352454914:569 [xwiki:XWiki.Admin-Administrator%2d9873211570186842] registered realtime-wysiwyg.js?cb=1459352454915:183 Realtime is ready! realtime-wysiwyg.js?cb=1459352454915:195 Readying new document cursor.js?cb=1459352454915:10 [cursor.update] no ranges found VM3618:1 Uncaught SyntaxError: Unexpected end of input Maybe problem not in RTWysiwyg, but in its dependencies? By the way, I'm understand it's bug in opensource project, but when I can expect rtwysiwyg developer fix the problem? I use xwiki and I need to provide some solution for collaboration or make some estimations. I checked the link http://realtime.webviewers.org/xwiki/bin/view/Demos/RTSimpleWysiwyg and these versions works pretty stable. It was almost 2 years ago, maybe I can use old versions? With old editor/dependencies? -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi Abtv, Thanks for your help in debugging, I just wanted to remind you that this is still very experimental code, hence the warning on the extensions page. When you install either RTWiki or RTWysiwyg, it will install a websocket component and realtime backend which require a wiki restart in order to start working for the first time. Please see this page for more information about the Websocket: http://extensions.xwiki.org/xwiki/bin/view/Extension/WebSocket Thanks, Caleb On 30/03/16 17:49, abtv wrote:
Unfortunately, I have the same problem with 1.7 under xwiki 7.4.2 (Jetty + hsqldb):
CKEditor detected, loading realtime WYSIWYG code... realtime-wysiwyg.js?cb=1459352454915:72 Creating realtime toggle realtime-cleartext.js?cb=1459352454915:40 started chainpad.js?cb=1459352454914:569 [xwiki:XWiki.Admin-Administrator%2d9873211570186842] registered realtime-wysiwyg.js?cb=1459352454915:183 Realtime is ready! realtime-wysiwyg.js?cb=1459352454915:195 Readying new document cursor.js?cb=1459352454915:10 [cursor.update] no ranges found VM3618:1 Uncaught SyntaxError: Unexpected end of input
Maybe problem not in RTWysiwyg, but in its dependencies?
By the way, I'm understand it's bug in opensource project, but when I can expect rtwysiwyg developer fix the problem? I use xwiki and I need to provide some solution for collaboration or make some estimations. I checked the link http://realtime.webviewers.org/xwiki/bin/view/Demos/RTSimpleWysiwyg and these versions works pretty stable. It was almost 2 years ago, maybe I can use old versions? With old editor/dependencies?
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi, On Wed, Mar 30, 2016 at 5:49 PM, abtv <[email protected]> wrote:
Unfortunately, I have the same problem with 1.7 under xwiki 7.4.2 (Jetty + hsqldb):
CKEditor detected, loading realtime WYSIWYG code... realtime-wysiwyg.js?cb=1459352454915:72 Creating realtime toggle realtime-cleartext.js?cb=1459352454915:40 started chainpad.js?cb=1459352454914:569 [xwiki:XWiki.Admin-Administrator%2d9873211570186842] registered realtime-wysiwyg.js?cb=1459352454915:183 Realtime is ready! realtime-wysiwyg.js?cb=1459352454915:195 Readying new document cursor.js?cb=1459352454915:10 [cursor.update] no ranges found VM3618:1 Uncaught SyntaxError: Unexpected end of input
Maybe problem not in RTWysiwyg, but in its dependencies?
No this is in RT.. We are working on it and hope to fix it soon..
By the way, I'm understand it's bug in opensource project, but when I can expect rtwysiwyg developer fix the problem? I use xwiki and I need to provide some solution for collaboration or make some estimations. I checked the link http://realtime.webviewers.org/xwiki/bin/view/Demos/RTSimpleWysiwyg and these versions works pretty stable. It was almost 2 years ago, maybe I can use old versions? With old editor/dependencies?
Well, while this old version works with basic text typing, it had some strong limitations for non text content, cursor handling, browser compatibility and the integration was never completed in XWiki (there is an extension which is version 1.3 but was never used in real testing). You can try it, but we won't be spending time on fixing bugs on it. We directed our effort towards CKEditor which is going to become the default editor in XWiki and we have implemented new support for any type of content. However we have some work still to refine it as the new module we implemented has some side effects which require some core work. We are actively working on making this realtime editor work well but we can't promise anything as we can discover more complex issues. Our first objective is to get to a stable version on which we can at least work each one at a time without getting any bugs. Then we tackle the full realtime issue which is a bit more complex and requires some low level work. Ludovic
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I checked again. 1.7 starts working after about 10 seconds or sometimes I need to reload one of my browser windows. But I still see the same error message in console. -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
I'm working with 1.7 (it works in general) and from time to time I see the following in console: cursor.js?cb=1459354594606:239 [cursor.fixSelection] At least one of the cursor nodes did not exist, could not fix selection -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi, A new version 1.10 was released this morning which should fix the issues you saw in 1.9 an should be improved compared to 1.7. It should behave much better when you make changes in 2 different editors. Don't hesitate to report any issues you might have. The next steps are to improve the concurrency editing (you need to be 2 people to see the issues there). Note that CKEditor integration has also been updated yesterday to version 1.4 and that it's still new so it could have bugs. Don't hesitate to report issues also that you find on CKEditor. Ludovic -- *Ludovic Dubost* *Founder and CEO* [email protected] skype: ldubost Blog: http://blog.ludovic.org On Wed, Mar 30, 2016 at 7:05 PM, abtv <[email protected]> wrote:
I'm working with 1.7 (it works in general) and from time to time I see the following in console: cursor.js?cb=1459354594606:239 [cursor.fixSelection] At least one of the cursor nodes did not exist, could not fix selection
-- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-run-RTWysiwyg-extension-not-in-demo... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
Aaron MacSween -
abtv -
Caleb James DeLisle -
Ludovic Dubost