suppport disabling context menu in custom elements

This commit is contained in:
ad1992
2022-04-22 00:56:17 +05:30
parent 2e8c4d25f2
commit db9c9eb3d2
7 changed files with 24 additions and 7 deletions
+1
View File
@@ -233,6 +233,7 @@ export type CustomElementConfig = {
height?: number;
stackedOnTop: boolean;
onCreate?: (element: ExcalidrawElement) => void;
disableContextMenu: boolean;
};
export type ExcalidrawInitialDataState = Merge<
ImportedDataState,