mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
Add download button to shared canvases (#7)
thx @sigaloid * Add download button to shared canvases * Update canvas_note_share.js * Update canvas_note_share.js * Update canvas_note_share.js * Change to more accurate language
This commit is contained in:
@@ -110,8 +110,10 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
</script>
|
||||
<div id="excalidraw-app">
|
||||
</div>
|
||||
<hr>
|
||||
<a href="api/images/${note.noteId}/${note.title}?${note.utcDateModified}">Download SVG</a>
|
||||
<script src="../../libraries/excalidraw/canvas_note_share.js"></script>
|
||||
</div>`;
|
||||
</div>`;
|
||||
}
|
||||
else {
|
||||
content = '<p>This note type cannot be displayed.</p>';
|
||||
@@ -127,7 +129,3 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
module.exports = {
|
||||
getContent
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user