mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 05:18:49 +01:00
This commit is contained in:
parent
b216ccd367
commit
b72d39e3ec
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ export class Link extends ToolbarItem {
|
|||
if (!dataHref && clipObject.textPlain.startsWith("assets/")) {
|
||||
dataHref = clipObject.textPlain;
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/14704 & https://github.com/siyuan-note/siyuan/issues/6798
|
||||
// https://github.com/siyuan-note/siyuan/issues/14704#issuecomment-2867555769 第一点 & https://github.com/siyuan-note/siyuan/issues/6798
|
||||
if (dataHref && !dataText) {
|
||||
dataText = decodeURIComponent(dataHref.replace("https://", "").replace("http://", ""));
|
||||
if (dataHref.length > Constants.SIZE_LINK_TEXT_MAX) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue