mirror of
https://github.com/zadam/trilium.git
synced 2025-02-22 14:03:36 +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;
|
||||
}
|
||||
|
||||
|
||||
.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
|
||||
}
|
||||
})
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue