mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 02:50:58 +08:00
This commit is contained in:
parent
241a350341
commit
b76c36b7b3
@ -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…
Reference in New Issue
Block a user