rename removeMark to unsetMark

This commit is contained in:
Philipp Kühn
2020-11-18 17:38:16 +01:00
parent c0a0c7a204
commit 2c5885c026
10 changed files with 11 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ const Highlight = Mark.create({
* Unset a highlight mark
*/
unsetHighlight: (): Command => ({ commands }) => {
return commands.removeMark('highlight')
return commands.unsetMark('highlight')
},
}
},