Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey28 committed Sep 12, 2023
1 parent dfe2af3 commit 8b3f2d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/core/utils/content-editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ function getSelectedPositionInParentByOffset (node, offset) {

// NOTE: IE behavior
// if (isSearchForLastChild)
currentNode = childNodes[childCount - 1];
// currentNode = childNodes[childCount - 1];
// else {
// currentNode = childNodes[offset];
// currentOffset = 0;
currentNode = childNodes[offset];
currentOffset = 0;
// }

// NOTE: skip shadowUI elements
Expand Down

0 comments on commit 8b3f2d0

Please sign in to comment.