mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 02:50:58 +08:00
🐛 Open external application protocol invalid https://github.com/siyuan-note/siyuan/issues/10075
This commit is contained in:
parent
8d52c126ac
commit
88d3eb4a00
@ -1882,7 +1882,8 @@ export class WYSIWYG {
|
||||
}
|
||||
} else if (linkAddress) {
|
||||
/// #if !BROWSER
|
||||
if (0 > linkAddress.indexOf("://")) {
|
||||
if (0 > linkAddress.indexOf(":")) {
|
||||
// 使用 : 判断,不使用 :// 判断 Open external application protocol invalid https://github.com/siyuan-note/siyuan/issues/10075
|
||||
// Support click to open hyperlinks like `www.foo.com` https://github.com/siyuan-note/siyuan/issues/9986
|
||||
linkAddress = `https://${linkAddress}`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user