mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix select all deletion error on Firefox
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user