There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7d0f4a69-67fe-4858-bcd2-ce8384d22a9e XWIKI-24158 Closed

Enable realtime editing for BlockNote editor

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-a1b66693-52a6-465b-90f1-a7629d1b16a9 Marius Dumitru Florea on 18/May/26 16:03
 
The first version has some limitations:
* you need to force edit lock
(XWIKI-24371)
* -the effective author for the collaboration session is not computed-
* no auto-save
(XWIKI-24372)
* it's still using the old edit form toolbar, not the new realtime toolbar (that CKEditor is using)
XWIKI-24373
* macro output is included in the synchronization
(XWIKI-24374)
* partial clustering support: the state is synchronized between cluster nodes when all nodes are up, but there is no synchronization performed when a node is restarted or reconnected (we need to add custom events for this and ask the cluster leader to give the collaboration state)
XWIKI-24375
* the Yjs WebSocket doesn't keep an authoritative Yjs document because it's not easy to use Yjs API server-side in Java; in order to perform the initial sync from the Yjs protocol, when a new client connects, it records all update messages and replays them to connecting users; this works, but it's far from optimal: instead of sending only the diff (missing changes) we basically send all changes; besides bandwidth and connection time, this could also take server-side memory for collaboration sessions with a long life.