Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Fix yText changes
Hakan Shehu5342e0e203f2
diff --git a/packages/crdt/src/index.ts b/packages/crdt/src/index.tsindex fccee881..237e9dbf 100644--- a/packages/crdt/src/index.ts+++ b/packages/crdt/src/index.ts@@ -346,7 +346,6 @@ export class YDoc {index += diff.value.length;} else if (diff.removed) {yText.delete(index, diff.value.length);- index -= diff.value.length;} else {index += diff.value.length;}