This commit is contained in:
parent
14908db32e
commit
b150d1021e
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue