This commit is contained in:
parent
4af21d1756
commit
54ac25cf6d
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||
textHTML = "";
|
||||
}
|
||||
|
||||
// 剪切复制中首位包含空格或仅有空格 https://github.com/siyuan-note/siyuan/issues/5667
|
||||
if (!textHTML.endsWith(Constants.ZWSP) && !textHTML.startsWith(Constants.ZWSP)) {
|
||||
// process word
|
||||
const doc = new DOMParser().parseFromString(textHTML, "text/html");
|
||||
|
|
Loading…
Add table
Reference in a new issue