mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
This commit is contained in:
commit
914f02bd5b
@ -20,8 +20,7 @@ const Strike = createMark({
|
||||
tag: 'strike',
|
||||
},
|
||||
{
|
||||
style: 'text-decoration',
|
||||
getAttrs: node => (node === 'line-through' ? {} : false),
|
||||
style: 'text-decoration=line-through',
|
||||
},
|
||||
]
|
||||
},
|
||||
|
@ -9,8 +9,7 @@ const Underline = createMark({
|
||||
tag: 'u',
|
||||
},
|
||||
{
|
||||
style: 'text-decoration',
|
||||
getAttrs: node => (node === 'underline' ? {} : false),
|
||||
style: 'text-decoration=underline',
|
||||
},
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user