Vanessa 2024-05-17 08:46:15 +08:00
parent 14908db32e
commit b150d1021e

View file

@ -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;