wip: canvas-note patch

Conflicts:
	src/public/app/services/library_loader.js
	src/public/app/services/tree_context_menu.js
	src/public/app/widgets/note_actions.js
	src/services/consistency_checks.js
	src/services/utils.js
This commit is contained in:
Tom Free
2021-11-25 13:45:58 +01:00
committed by Tom
parent f6ebc76917
commit 0469962c5e
9 changed files with 505 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ function exportSingleNote(taskContext, branch, format, res) {
extension = mimeTypes.extension(note.mime) || 'code';
mime = note.mime;
}
else if (note.type === 'relation-map' || note.type === 'search') {
else if (note.type === 'relation-map' || note.type === 'canas-note' || note.type === 'search') {
payload = content;
extension = 'json';
mime = 'application/json';