mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
sharing improvements
This commit is contained in:
@@ -59,7 +59,7 @@ function getContent(note) {
|
||||
content = document.body.innerHTML;
|
||||
}
|
||||
}
|
||||
else if (note.type === 'code') {
|
||||
else if (note.type === 'code' || note.type === 'mermaid') {
|
||||
if (!content?.trim()) {
|
||||
content = NO_CONTENT + getChildrenList(note);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user