mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
save paste images locally WIP
This commit is contained in:
@@ -158,7 +158,7 @@ function getContentDisposition(filename) {
|
||||
return `file; filename="${sanitizedFilename}"; filename*=UTF-8''${sanitizedFilename}`;
|
||||
}
|
||||
|
||||
const STRING_MIME_TYPES = ["application/x-javascript"];
|
||||
const STRING_MIME_TYPES = ["application/x-javascript", "image/svg"];
|
||||
|
||||
function isStringNote(type, mime) {
|
||||
return ["text", "code", "relation-map", "search"].includes(type)
|
||||
|
||||
Reference in New Issue
Block a user