From 1b68adf3e4d05e0b621aecf5f75963c945263d64 Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 15 Jun 2023 21:34:02 +0200 Subject: [PATCH] compatibility with online excalidraw tool --- src/public/app/widgets/type_widgets/canvas.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/public/app/widgets/type_widgets/canvas.js b/src/public/app/widgets/type_widgets/canvas.js index b4c92c4f0..ae4088d6c 100644 --- a/src/public/app/widgets/type_widgets/canvas.js +++ b/src/public/app/widgets/type_widgets/canvas.js @@ -285,6 +285,8 @@ export default class ExcalidrawTypeWidget extends TypeWidget { }) const content = { + type: "excalidraw", + version: 2, _meta: "This note has type `canvas`. It uses excalidraw and stores an exported svg alongside.", elements, // excalidraw appState, // excalidraw