fix: Improve paste handler parsing for more cases, specifically Google Docs (#3322)
This commit is contained in:
@@ -15,7 +15,7 @@ export default class Underline extends Mark {
|
||||
{ tag: "u" },
|
||||
{
|
||||
style: "text-decoration",
|
||||
getAttrs: (value) => (value === "underline" ? {} : undefined),
|
||||
getAttrs: (value) => (value === "underline" ? null : false),
|
||||
},
|
||||
],
|
||||
toDOM: () => ["u", 0],
|
||||
|
||||
Reference in New Issue
Block a user