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

@@ -60,7 +60,7 @@ const Strike = Mark.create({
* Unset a strike mark
*/
unsetStrike: (): Command => ({ commands }) => {
return commands.removeMark('strike')
return commands.unsetMark('strike')
},
}
},