diff --git a/src/public/app/widgets/type_widgets/canvas.js b/src/public/app/widgets/type_widgets/canvas.js index 19ca4032c..07be9f78e 100644 --- a/src/public/app/widgets/type_widgets/canvas.js +++ b/src/public/app/widgets/type_widgets/canvas.js @@ -20,10 +20,13 @@ const TPL = ` display: block; } - .excalidraw-wrapper { height: 100%; } + + .excalidraw button[data-testid="json-export-button"] { + display: none !important; + } :root[dir="ltr"] .excalidraw @@ -441,6 +444,10 @@ export default class ExcalidrawTypeWidget extends TypeWidget { handleKeyboardGlobally: false, autoFocus: false, onLinkOpen, + UIOptions: { + saveToActiveFile: false, + saveAsImage: false + } }) ) );