mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 07:24:07 +01:00
This commit is contained in:
parent
05cfcf7c2b
commit
64900706b2
13 changed files with 119 additions and 58 deletions
|
|
@ -28,11 +28,7 @@ import {openNewWindowById} from "../../window/openNewWindow";
|
|||
import {genImportMenu} from "../../menus/navigation";
|
||||
import {transferBlockRef} from "../../menus/block";
|
||||
|
||||
export const openTitleMenu = (protyle: IProtyle, position: {
|
||||
x: number
|
||||
y: number
|
||||
isLeft?: boolean
|
||||
}) => {
|
||||
export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
|
||||
hideTooltip();
|
||||
if (!window.siyuan.menus.menu.element.classList.contains("fn__none") &&
|
||||
window.siyuan.menus.menu.element.getAttribute("data-name") === "titleMenu") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue