There are 2 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-ebedd92e-f1ab-45c9-917b-e17f9d9a59e4 XWIKI-24158 Closed

Enable realtime editing for BlockNote editor

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-388a29ab-6114-4c9a-b1ed-e64ef57d9487 Changes by Marius Dumitru Florea on 15/May/26 10:16
 
Resolution: Fixed
Status: In Progress Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-388a29ab-6114-4c9a-b1ed-e64ef57d9487 Marius Dumitru Florea on 15/May/26 10:15
 
The first version has some limitations:

* you need to force edit lock
*
- the effective author for the collaboration session is not computed -
* no auto-save
* it's still using the old edit form toolbar, not the new realtime toolbar (that CKEditor is using)
*
macro output is included in the synchronization
*
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)
* 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.