add highlight commands

This commit is contained in:
Philipp Kühn
2020-11-17 21:59:04 +01:00
parent f9025775ca
commit 34a25c7ea0
6 changed files with 22 additions and 10 deletions

View File

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