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