mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 17:24:21 +01:00
🚨
This commit is contained in:
parent
6737a68fd7
commit
7331e9d834
4 changed files with 19 additions and 19 deletions
|
|
@ -621,17 +621,17 @@ ${unicode2Emoji(emoji.unicode)}</button>`;
|
|||
return;
|
||||
} else if (value.startsWith("plugin")) {
|
||||
protyle.app.plugins.find((plugin) => {
|
||||
const ids = value.split(Constants.ZWSP)
|
||||
const ids = value.split(Constants.ZWSP);
|
||||
if (ids[1] === plugin.name) {
|
||||
plugin.protyleSlash.find((slash) => {
|
||||
if (slash.id === ids[2]){
|
||||
slash.callback(protyle.getInstance());
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
range.deleteContents();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue