rename removeMark to unsetMark
This commit is contained in:
@@ -74,7 +74,7 @@ const Highlight = Mark.create({
|
||||
* Unset a highlight mark
|
||||
*/
|
||||
unsetHighlight: (): Command => ({ commands }) => {
|
||||
return commands.removeMark('highlight')
|
||||
return commands.unsetMark('highlight')
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user