add canvas-note-type at some missing places after rebase

This commit is contained in:
Tom Free 2022-04-14 23:09:23 +02:00 committed by Tom
parent aefc9f1593
commit a8655fcd27
2 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,7 @@ export default class NoteWrapperWidget extends FlexContainer {
refresh(noteContext) { refresh(noteContext) {
this.$widget.toggleClass("full-content-width", 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') || !!noteContext?.note?.hasLabel('fullContentWidth')
); );
} }

View File

@ -8,5 +8,6 @@ module.exports = [
'relation-map', 'relation-map',
'book', 'book',
'note-map', 'note-map',
'mermaid' 'mermaid',
'canvas-note'
]; ];