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