compatibility with online excalidraw tool

This commit is contained in:
zadam 2023-06-15 21:34:02 +02:00
parent 3ff5fe61b2
commit a2cd6f92d7

View File

@ -284,6 +284,8 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
}) })
const content = { const content = {
type: "excalidraw",
version: 2,
_meta: "This note has type `canvas`. It uses excalidraw and stores an exported svg alongside.", _meta: "This note has type `canvas`. It uses excalidraw and stores an exported svg alongside.",
elements, // excalidraw elements, // excalidraw
appState, // excalidraw appState, // excalidraw