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

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