mirror of
https://github.com/zadam/trilium.git
synced 2025-02-23 06:26:31 +08:00
hiding useless/misleading buttons from excalidraw
This commit is contained in:
parent
a16555bbff
commit
584b176643
1 changed files with 8 additions and 1 deletions
|
@ -20,10 +20,13 @@ const TPL = `
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.excalidraw-wrapper {
|
.excalidraw-wrapper {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.excalidraw button[data-testid="json-export-button"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
:root[dir="ltr"]
|
:root[dir="ltr"]
|
||||||
.excalidraw
|
.excalidraw
|
||||||
|
@ -441,6 +444,10 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
|
||||||
handleKeyboardGlobally: false,
|
handleKeyboardGlobally: false,
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
onLinkOpen,
|
onLinkOpen,
|
||||||
|
UIOptions: {
|
||||||
|
saveToActiveFile: false,
|
||||||
|
saveAsImage: false
|
||||||
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue