remove updateMarkAttributes

This commit is contained in:
Philipp Kühn
2020-11-18 11:05:19 +01:00
parent 91377be21e
commit 9d99e9c9d0
7 changed files with 17 additions and 37 deletions

View File

@@ -54,7 +54,7 @@ const Link = Mark.create({
return commands.removeMark('link')
}
return commands.updateMarkAttributes('link', options)
return commands.addMark('link', options)
},
}
},