mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Fix yText changes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user