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

@@ -48,7 +48,7 @@ const Code = Mark.create({
return commands.toggleMark('code')
},
/**
* Set a code mark
* Unset a code mark
*/
unsetCode: (): Command => ({ commands }) => {
return commands.addMark('code')