fix: Emojis and embeds cannot be copied to plain text clipboard (#3561)

This commit is contained in:
Tom Moor
2022-05-20 09:47:13 -07:00
committed by GitHub
parent 90ca8655af
commit ba7b3fff05
10 changed files with 99 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ export default class Embed extends Node {
{ class: "embed", src: node.attrs.href, contentEditable: "false" },
0,
],
toPlainText: (node) => node.attrs.href,
};
}