Merge remote-tracking branch 'upstream/master' into excalidraw

conflict in
- package-lock (accept incoming),
- routes (remove the option to have image without filename, since it is not really necessary for canvas_note)
- note_detail
This commit is contained in:
Tom
2022-05-03 21:56:52 +02:00
38 changed files with 867 additions and 283 deletions

View File

@@ -154,7 +154,8 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
// https://github.com/zadam/trilium/issues/2522
this.$widget.toggleClass("full-height",
!this.noteContext.hasNoteList()
&& ['editable-text', 'editable-code', 'canvas-note'].includes(this.type));
&& ['editable-text', 'editable-code', 'canvas-note'].includes(this.type)
&& this.mime !== 'text/x-sqlite;schema=trilium');
}
getTypeWidget() {