mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
added iframe note type
This commit is contained in:
@@ -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')
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user