mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-01 03:41:31 +02:00
remove logging
This commit is contained in:
parent
0f38753dba
commit
85adc8953f
@ -93,7 +93,6 @@ export function setCaretPosition(editor, caretPosition) {
|
|||||||
node = node.childNodes[0];
|
node = node.childNodes[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log("setting caret", caretPosition, node);
|
|
||||||
const sel = document.getSelection();
|
const sel = document.getSelection();
|
||||||
sel.removeAllRanges();
|
sel.removeAllRanges();
|
||||||
const range = document.createRange();
|
const range = document.createRange();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user