You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-05 22:57:29 +02:00
Desktop: Fixes #1425: Improved handling of images when using external editor, so that it works in Atom, VSCode and Typora
This commit is contained in:
@@ -71,6 +71,14 @@ class Resource extends BaseItem {
|
||||
return Setting.value('resourceDir');
|
||||
}
|
||||
|
||||
static baseRelativeDirectoryPath() {
|
||||
return Setting.value('resourceDirName');
|
||||
}
|
||||
|
||||
static relativePath(resource, encryptedBlob = false) {
|
||||
return Setting.value('resourceDirName') + '/' + this.filename(resource, encryptedBlob);
|
||||
}
|
||||
|
||||
static fullPath(resource, encryptedBlob = false) {
|
||||
return Setting.value('resourceDir') + '/' + this.filename(resource, encryptedBlob);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user