mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 19:30:16 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
f2903bb3fd
4 changed files with 63 additions and 8 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue