This commit is contained in:
Philipp Kühn 2020-10-27 22:41:29 +01:00
commit 914f02bd5b
2 changed files with 2 additions and 4 deletions

View File

@ -20,8 +20,7 @@ const Strike = createMark({
tag: 'strike',
},
{
style: 'text-decoration',
getAttrs: node => (node === 'line-through' ? {} : false),
style: 'text-decoration=line-through',
},
]
},

View File

@ -9,8 +9,7 @@ const Underline = createMark({
tag: 'u',
},
{
style: 'text-decoration',
getAttrs: node => (node === 'underline' ? {} : false),
style: 'text-decoration=underline',
},
]
},