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

@@ -46,7 +46,7 @@ const Underline = Mark.create({
* Unset an underline mark
*/
unsetUnderline: (): Command => ({ commands }) => {
return commands.removeMark('underline')
return commands.unsetMark('underline')
},
}
},