diff --git a/src/public/app/widgets/note_wrapper.js b/src/public/app/widgets/note_wrapper.js index 6de26926e..7f5c37377 100644 --- a/src/public/app/widgets/note_wrapper.js +++ b/src/public/app/widgets/note_wrapper.js @@ -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') ); } diff --git a/src/services/note_types.js b/src/services/note_types.js index 05a242c94..2b488424d 100644 --- a/src/services/note_types.js +++ b/src/services/note_types.js @@ -7,6 +7,7 @@ module.exports = [ 'search', 'relation-map', 'book', - 'note-map', - 'mermaid' + 'note-map', + 'mermaid', + 'canvas-note' ]; \ No newline at end of file