We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents babf62b + 0df8e84 commit 33de969Copy full SHA for 33de969
src/cmd/upload-img/upload-img.ts
@@ -1,6 +1,6 @@
1
import { Alert } from '@/infra/alert'
2
import { uploadClipboardImg } from './upload-clipboard-img'
3
-import { showUploadSuccessModel } from './upload-img-util'
+import { insertImgLinkToActiveEditor } from './upload-img-util'
4
import { uploadFsImage } from './upload-fs-img'
5
6
export async function uploadImg() {
@@ -22,7 +22,7 @@ export async function uploadImg() {
22
23
if (imageUrl === undefined) return
24
25
- await showUploadSuccessModel(imageUrl)
+ await insertImgLinkToActiveEditor(imageUrl)
26
27
return imageUrl
28
}
0 commit comments