Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
nookery committed Nov 21, 2024
2 parents ce21cd8 + f8e4436 commit 10f92c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/SmartImage/SmartImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const SmartImage = ImageTipTap.extend<ImageOptions>({
ImageHelper.downloadImageFromUrl(src)
}

this.editor.commands.webKitDownloadImage(src, attrs.alt)
this.editor.commands.webKitDownloadImage(src, "image." + ImageHelper.getExtension(src))

return true
},
Expand Down

0 comments on commit 10f92c2

Please sign in to comment.