Vanessa 2023-06-09 22:29:15 +08:00
parent 4f8e438138
commit 182eb26b47

View file

@ -54,6 +54,7 @@ export const pasteAsPlainText = async (protyle: IProtyle) => {
// Inline-level elements support pasted as plain text https://github.com/siyuan-note/siyuan/issues/8010
navigator.clipboard.readText().then(textPlain => {
insertHTML(protyle.lute.BlockDOM2EscapeMarkerContent(protyle.lute.Md2BlockDOM(textPlain)), protyle);
filterClipboardHint(protyle, textPlain);
});
}
};