fix: Improve paste handler parsing for more cases, specifically Google Docs (#3322)
This commit is contained in:
@@ -20,6 +20,10 @@ export default class Strikethrough extends Mark {
|
||||
{
|
||||
tag: "strike",
|
||||
},
|
||||
{
|
||||
style: "text-decoration",
|
||||
getAttrs: (value) => (value === "line-through" ? null : false),
|
||||
},
|
||||
],
|
||||
toDOM: () => ["del", 0],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user