Branch: refs/heads/feature-realtime-bugfixes
Home: https://github.com/xwiki/xwiki-platform
Commit: 0ae0b93b5d245900ca52be27f292c24e6b5c352f
https://github.com/xwiki/xwiki-platform/commit/0ae0b93b5d245900ca52be27f292…
Author: Marius Dumitru Florea <marius(a)xwiki.com>
Date: 2023-10-23 (Mon, 23 Oct 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-ui/src/main/resources/XWiki/Realtime/Configuration.xml
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-webjar/pom.xml
R xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-webjar/src/main/webjar/cursor.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-webjar/src/main/webjar/saver.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-webjar/src/main/webjar/typingTests.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-ui/src/main/resources/XWiki/Realtime/WysiwygEditor.xml
A xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/filters.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/loader.js
A xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/patches.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/wysiwygEditor.js
Log Message:
-----------
XWIKI-20052: Repeated errors in the console logs when using the WYSIWYG editor
* Extract the code that filters the HyperJSON and the diff changes in a separate module so that it's easier to keep them in sync.
* Don't sync BODY attributes because they hold user preferences which can be different for different users.
XWIKI-20053: It is not possible to edit wiki macro contents while another editor is typing in a realtime session
* Extend the filters module to support macros that are editable in-place.
* Preserve the selection using our 'xwiki-selection' CKEditor plugin (that is already used by the non-realtime editor) instead of the cursor module (which is based on Rangy library)
* Restore the selection only when the caret or selection end points are inside a modified DOM node (as shown by the diff). We don't need to do anything otherwise because the browser can update the selection if DiffDOM makes changes in other parts of the DOM.
XWIKI-21007: Content in editor widgets is flickering when typing on the other side of the collaborative session
* Don't destroy an re-create all widgets. Initialize only the new widgets we receive.
XWIKI-20673: Action button events are not triggered properly by the realtime editor
XWIKI-21401: Content from Realtime Editing session aren't stored in the page content after it has finished
* Don't remove the existing save listeners. Instead, listen to beforeSave and stop the save, do our stuff and then retrigger the save using the save button.