/**
 * @since 6.4.0
 * @internal
 */ export function selectNode(node) {
    const selection = window.getSelection();
    if (!selection) {
        return;
    }
    const range = document.createRange();
    range.selectNodeContents(node);
    selection.removeAllRanges();
    selection.addRange(range);
}

//# sourceMappingURL=selectNode.js.map