From d6a91a0cc38b1969d12e91fa3d31b87424053aed Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Mon, 11 Sep 2023 14:21:49 -0400 Subject: [PATCH] Fix PersistentRange#toString() --- src/dom/common/lib/range.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/common/lib/range.ts b/src/dom/common/lib/range.ts index 1f28fb5c..0d8bfe46 100644 --- a/src/dom/common/lib/range.ts +++ b/src/dom/common/lib/range.ts @@ -27,7 +27,7 @@ export class PersistentRange { } toString(): string { - return `${this.startContainer}:${this.startOffset}-${this.endContainer}:${this.endOffset}`; + return this.toRange().toString(); } }