mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
Implement mermaid diagrams (#2187)
* Start implementing mermaid diagrams * Implement theming for mermaid diagrams * Add edit tab to mermaid diagrams * Remove comment * Render mermaid diagrams in included notes * Prevent mermaid notes from being removed to consistency checks
This commit is contained in:
@@ -55,7 +55,7 @@ export default class BasicPropertiesWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return this.note && (this.note.type === 'text' || this.note.type === 'code');
|
||||
return this.note && (this.note.type === 'text' || this.note.type === 'code' || this.note.type == 'mermaid');
|
||||
}
|
||||
|
||||
getTitle() {
|
||||
|
||||
Reference in New Issue
Block a user