Mostly copied over directly from the now unmaintained https://codeberg.org/durian/editor/
Cleaned up the css and made dark mode support work in the menus
add-presence into main
Mostly copied over directly from the now unmaintained https://codeberg.org/durian/editor/
Cleaned up the css and made dark mode support work in the menus
@ -4,0 +84,4 @@
return;
}
// Make sure we update the
Make sure we update the what?
@ -4,0 +82,4 @@
if (isRealTime) {
this.realtimeChannel.send(new TextEncoder().encode(JSON.stringify(update.payload)));
return;
}
I'd move this if-block up before const update = .. and just use JSON.stringify(payload)
@ -4,0 +64,4 @@
}
syncToChatPeers(isRealTime) {
const { document, summary, startinfo } = this.getEditInfo();
This row isn't used by real time so can be moved below real time update, but before const update = ..
Added some comments to make syncToChatPeers() a bit more separated in the two cases, real time and not real time.
I'm working on porting over some of this now. I first want to make y-webxdc realtime capable so we don't need to carry a fork here, but this is useful to study to identify both the changes and the comments, so I'm keeping this open as a WIP reference.
Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?