rename updateMark and setNodeAttributes, fix #38

This commit is contained in:
Philipp Kühn
2020-11-05 21:59:04 +01:00
parent 73822bd6c9
commit 3ce0e791f6
6 changed files with 29 additions and 29 deletions

View File

@@ -50,7 +50,7 @@ const Link = createMark({
return commands.removeMark('link')
}
return commands.updateMark('link', options)
return commands.updateMarkAttributes('link', options)
},
}
},