This commit is contained in:
parent
241a350341
commit
b76c36b7b3
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue