rename removeMark to unsetMark
This commit is contained in:
@@ -60,7 +60,7 @@ const Italic = Mark.create({
|
||||
* Unset an italic mark
|
||||
*/
|
||||
unsetItalic: (): Command => ({ commands }) => {
|
||||
return commands.removeMark('italic')
|
||||
return commands.unsetMark('italic')
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user