mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 03:27:44 +08:00
add canvas-note-type at some missing places after rebase
This commit is contained in:
parent
aefc9f1593
commit
a8655fcd27
2 changed files with 4 additions and 3 deletions
|
@ -32,7 +32,7 @@ export default class NoteWrapperWidget extends FlexContainer {
|
|||
|
||||
refresh(noteContext) {
|
||||
this.$widget.toggleClass("full-content-width",
|
||||
['image', 'mermaid', 'book', 'render'].includes(noteContext?.note?.type)
|
||||
['image', 'mermaid', 'book', 'render', 'canvas-note'].includes(noteContext?.note?.type)
|
||||
|| !!noteContext?.note?.hasLabel('fullContentWidth')
|
||||
);
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ module.exports = [
|
|||
'search',
|
||||
'relation-map',
|
||||
'book',
|
||||
'note-map',
|
||||
'mermaid'
|
||||
'note-map',
|
||||
'mermaid',
|
||||
'canvas-note'
|
||||
];
|
Loading…
Reference in a new issue