Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Skalakid committed Mar 1, 2024
1 parent b625b61 commit 3df7eca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/web/cursorUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ function moveCursorToEnd(target: HTMLElement) {

function getCurrentCursorPosition(target: HTMLElement) {
const sel = window.getSelection();

if (sel && sel.rangeCount > 0) {
const range = sel.getRangeAt(0);
const preSelectionRange = range.cloneRange();
Expand Down

0 comments on commit 3df7eca

Please sign in to comment.