mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -7,6 +7,9 @@ import {getEditorRange} from "../../util/selection";
|
||||
import {Constants} from "../../../constants";
|
||||
|
||||
export const openViewMenu = (options: { protyle: IProtyle, blockElement: HTMLElement, element: HTMLElement }) => {
|
||||
if (options.protyle.disabled) {
|
||||
return;
|
||||
}
|
||||
const menu = new Menu("av-view");
|
||||
if (menu.isOpen) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user