hiding useless/misleading buttons from excalidraw

This commit is contained in:
zadam 2023-09-21 12:03:40 +02:00
parent a16555bbff
commit 584b176643

View file

@ -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
}
})
)
);