1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Desktop: Resolves #1099: Show Markdown images in external editor

This commit is contained in:
Laurent Cozic
2019-01-20 16:27:33 +00:00
parent d7dc625042
commit 949dbf45f1
3 changed files with 32 additions and 2 deletions

View File

@@ -63,6 +63,10 @@ class Resource extends BaseItem {
return output + extension;
}
static baseDirectoryPath() {
return Setting.value('resourceDir');
}
static fullPath(resource, encryptedBlob = false) {
return Setting.value('resourceDir') + '/' + this.filename(resource, encryptedBlob);
}