added iframe note type

This commit is contained in:
zadam
2022-05-28 22:19:29 +02:00
parent ca35527aeb
commit ee217d6306
9 changed files with 99 additions and 21 deletions

View File

@@ -36,7 +36,7 @@ export default class NoteWrapperWidget extends FlexContainer {
const note = this.noteContext?.note;
this.$widget.toggleClass("full-content-width",
['image', 'mermaid', 'book', 'render', 'canvas'].includes(note?.type)
['image', 'mermaid', 'book', 'render', 'canvas', 'iframe'].includes(note?.type)
|| !!note?.hasLabel('fullContentWidth')
);
}