mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
dbd7351708
commit
4eba1176be
3 changed files with 132 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ import {focusBlock, getEditorRange} from "../../util/selection";
|
|||
import {avRender} from "./render";
|
||||
import {setPageSize} from "./row";
|
||||
import {bindRelationEvent, getRelationHTML, openSearchAV, setRelationCell, updateRelation} from "./relation";
|
||||
import {goSearchRollupCalc, goSearchRollupCol, goSearchRollupTarget} from "./rollup";
|
||||
|
||||
export const openMenuPanel = (options: {
|
||||
protyle: IProtyle,
|
||||
|
|
@ -763,6 +764,21 @@ export const openMenuPanel = (options: {
|
|||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "goSearchRollupCol") {
|
||||
goSearchRollupCol(avID, target);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "goSearchRollupTarget") {
|
||||
goSearchRollupTarget(avID, target);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "goSearchRollupCalc") {
|
||||
goSearchRollupCalc(avID, target);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "updateRelation") {
|
||||
updateRelation({
|
||||
protyle: options.protyle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue