Skip to content

Commit

Permalink
🐛 fix #11270
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed May 12, 2024
1 parent 241a350 commit b76c36b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/protyle/render/av/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
protyle.toolbar.range = document.createRange();
protyle.toolbar.range.selectNodeContents(target);
focusByRange(protyle.toolbar.range);
target.parentElement.classList.add("av__cell--select");
addDragFill(target.parentElement);
hintRef(target.previousElementSibling.textContent.trim(), protyle, "av");
event.preventDefault();
event.stopPropagation();
Expand Down

0 comments on commit b76c36b

Please sign in to comment.