You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Clipper: Improved clipping of images in HTML mode
This commit is contained in:
@ -92,6 +92,8 @@ utils.resourceStatus = function(resourceInfo) {
|
||||
}
|
||||
|
||||
utils.imageReplacement = function(src, resources, resourceBaseUrl) {
|
||||
if (!Resource.isResourceUrl(src)) return null;
|
||||
|
||||
const resourceId = Resource.urlToId(src);
|
||||
const result = resources[resourceId];
|
||||
const resource = result ? result.item : null;
|
||||
|
Reference in New Issue
Block a user