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 Italic = Mark.create({
* Unset an italic mark
*/
unsetItalic: (): Command => ({ commands }) => {
return commands.removeMark('italic')
return commands.unsetMark('italic')
},
}
},