This commit is contained in:
parent
4f8e438138
commit
182eb26b47
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue