mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 01:06:09 +01:00
This commit is contained in:
parent
119314ba02
commit
ebc2111fe8
7 changed files with 78 additions and 29 deletions
|
|
@ -131,7 +131,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
|||
|
||||
const addRowElement = hasClosestByClassName(event.target, "av__row--add");
|
||||
if (addRowElement) {
|
||||
hintRef("", protyle, true);
|
||||
(blockElement.querySelector(".av__title") as HTMLInputElement).focus()
|
||||
hintRef("", protyle, "av");
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue