🐛 Fix select all deletion error on Firefox

This commit is contained in:
Elena Torro
2025-07-09 11:39:16 +02:00
parent 00599f76d0
commit e2b55d814b
3 changed files with 29 additions and 0 deletions

View File

@@ -1519,6 +1519,7 @@ export class SelectionController extends EventTarget {
const startNode = getClosestTextNode(this.#range.startContainer);
const endNode = getClosestTextNode(this.#range.endContainer);
const startOffset = this.#range.startOffset;
const endOffset = this.#range.endOffset;