You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Desktop: WYSIWYG: Handle internal note links
This commit is contained in:
@ -782,6 +782,12 @@ class BaseItem extends BaseModel {
|
||||
output.push(`(:/${item.id})`);
|
||||
return output.join('');
|
||||
}
|
||||
|
||||
static isMarkdownTag(md) {
|
||||
if (!md) return false;
|
||||
return !!md.match(/^\[.*?\]\(:\/[0-9a-zA-Z]{32}\)$/);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BaseItem.encryptionService_ = null;
|
||||
|
Reference in New Issue
Block a user