Skip to content

Commit

Permalink
Merge pull request #154 from xinde/patch-1
Browse files Browse the repository at this point in the history
Update ActionImageButton.tsx
  • Loading branch information
hunghg255 authored Feb 18, 2025
2 parents edadf14 + 54b11b2 commit 1fddd20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extensions/Image/components/ActionImageButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function ActionImageButton(props: any) {
props.editor.chain().focus().setImageInline({ src: link, inline: imageInline }).run()
actionDialogImage.setOpen(false)
setImageInline(false)
setLink('')
}

function handleClick(e: any) {
Expand Down

0 comments on commit 1fddd20

Please sign in to comment.