Skip to content

Commit

Permalink
fix(LinkBubble): Hide link bubble when removing a link
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Jun 25, 2024
1 parent 1f7d5cf commit a6e80a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Link/LinkBubbleView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@ export default {
},
removeLink() {
this.editor.chain().unsetLink().focus().run()
this.editor.chain()
.hideLinkBubble()
.unsetLink()
.focus()
.run()
this.stopEdit()
},
},
Expand Down

0 comments on commit a6e80a4

Please sign in to comment.