1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Plugins: Add support for hiding and showing panels

This commit is contained in:
Laurent Cozic
2021-01-02 13:32:15 +00:00
parent 0be8cdf760
commit 5b295d5f6f
25 changed files with 298 additions and 17 deletions

View File

@@ -141,7 +141,7 @@ class Note extends BaseItem {
useAbsolutePaths: false,
}, options);
this.logger().debug('replaceResourceInternalToExternalLinks', 'options:', options, 'body:', body);
// this.logger().debug('replaceResourceInternalToExternalLinks', 'options:', options, 'body:', body);
const resourceIds = await this.linkedResourceIds(body);
const Resource = this.getClass('Resource');
@@ -161,7 +161,7 @@ class Note extends BaseItem {
body = body.replace(new RegExp(`:/${id}`, 'gi'), markdownUtils.escapeLinkUrl(resourcePath));
}
this.logger().debug('replaceResourceInternalToExternalLinks result', body);
// this.logger().debug('replaceResourceInternalToExternalLinks result', body);
return body;
}
@@ -194,7 +194,7 @@ class Note extends BaseItem {
pathsToTry = temp;
this.logger().debug('replaceResourceExternalToInternalLinks', 'options:', options, 'pathsToTry:', pathsToTry);
// this.logger().debug('replaceResourceExternalToInternalLinks', 'options:', options, 'pathsToTry:', pathsToTry);
for (const basePath of pathsToTry) {
const reStrings = [