code style
This commit is contained in:
@@ -20,8 +20,7 @@ const Strike = createMark({
|
|||||||
tag: 'strike',
|
tag: 'strike',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
style: 'text-decoration',
|
style: 'text-decoration=line-through',
|
||||||
getAttrs: node => (node === 'line-through' ? {} : false),
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9,8 +9,7 @@ const Underline = createMark({
|
|||||||
tag: 'u',
|
tag: 'u',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
style: 'text-decoration',
|
style: 'text-decoration=underline',
|
||||||
getAttrs: node => (node === 'underline' ? {} : false),
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user