Skip to content

Commit

Permalink
fix: add missing file from #247
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Mar 27, 2024
1 parent 92f44d0 commit c737a5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/web/parserUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ function parseText(target: HTMLElement, text: string, curosrPositionIndex: numbe
}
}

CursorUtils.setPrevText(target);

return {text: target.innerText, cursorPosition: cursorPosition || 0};
}

Expand Down

0 comments on commit c737a5e

Please sign in to comment.