mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 11:50:15 +01:00
This commit is contained in:
parent
41e6c78bdb
commit
fe925964d5
3 changed files with 14 additions and 15 deletions
|
|
@ -696,7 +696,7 @@ export const openBy = (url: string, type: "folder" | "app") => {
|
|||
/// #endif
|
||||
};
|
||||
|
||||
export const openLink = (protyle: IProtyle, aLink: string, event: MouseEvent | KeyboardEvent, ctrlIsPressed = false) => {
|
||||
export const openLink = (protyle: IProtyle, aLink: string, event?: MouseEvent, ctrlIsPressed = false) => {
|
||||
let linkAddress = Lute.UnEscapeHTMLStr(aLink);
|
||||
/// #if MOBILE
|
||||
openByMobile(linkAddress);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue