fix: Emojis and embeds cannot be copied to plain text clipboard (#3561)
This commit is contained in:
@@ -17,9 +17,8 @@ export default class HardBreak extends Node {
|
||||
group: "inline",
|
||||
selectable: false,
|
||||
parseDOM: [{ tag: "br" }],
|
||||
toDOM() {
|
||||
return ["br"];
|
||||
},
|
||||
toDOM: () => ["br"],
|
||||
toPlainText: () => "\n",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user