fix: Emojis and embeds cannot be copied to plain text clipboard (#3561)
This commit is contained in:
@@ -50,6 +50,7 @@ export default class Embed extends Node {
|
||||
{ class: "embed", src: node.attrs.href, contentEditable: "false" },
|
||||
0,
|
||||
],
|
||||
toPlainText: (node) => node.attrs.href,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user