mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
f4a8de4a14
commit
055e3a755d
3 changed files with 112 additions and 87 deletions
|
|
@ -4,7 +4,7 @@ import {addCol} from "./addCol";
|
|||
import {getColIconByType} from "./col";
|
||||
import {setPosition} from "../../../util/setPosition";
|
||||
import {hasClosestByAttribute} from "../../util/hasClosest";
|
||||
import {bindSelectEvent, getSelectHTML, setSelectOption} from "./select";
|
||||
import {bindSelectEvent, getSelectHTML, setOptionCell, setSelectOption} from "./select";
|
||||
import {addFilter, getFiltersHTML, setFilter} from "./filter";
|
||||
import {addSort, bindSortsEvent, getSortsHTML} from "./sort";
|
||||
|
||||
|
|
@ -435,6 +435,10 @@ export const openMenuPanel = (protyle: IProtyle,
|
|||
setSelectOption(protyle, data, options, target);
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "setOptionCell") {
|
||||
setOptionCell(protyle, data, options, target, menuElement);
|
||||
event.stopPropagation();
|
||||
break;
|
||||
}
|
||||
target = target.parentElement;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue