mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-17 04:28:07 +01:00
This commit is contained in:
parent
b38863df8a
commit
11f7960fd8
2 changed files with 45 additions and 14 deletions
|
|
@ -31,6 +31,7 @@ export const getIdZoomInByPath = () => {
|
|||
id, isZoomIn
|
||||
};
|
||||
};
|
||||
|
||||
export const isSYProtocol = (url: string) => {
|
||||
return /^siyuan:\/\/blocks\/\d{14}-\w{7}/.test(url);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue