From e8515879bfcdc88477956dd8c0793c74e3ceb297 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 9 Mar 2025 16:37:18 +0800 Subject: [PATCH] :art: Improve pasting HTML https://github.com/siyuan-note/siyuan/issues/14313 --- app/src/protyle/util/paste.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts index 5de51d31a..9925cf1ca 100644 --- a/app/src/protyle/util/paste.ts +++ b/app/src/protyle/util/paste.ts @@ -467,8 +467,8 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven isHTML = true; } - if (textPlain && "" !== textPlain.trim() && textHTML.startsWith("