From eb03f34a7e929c43a4a4fb82bbfb363b419fd6f4 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 23 Mar 2022 01:01:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=95=88?= =?UTF-8?q?=EC=98=AC=EB=9D=BC=EA=B0=80=EB=8A=94=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/components/TipTap.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/ts/components/TipTap.vue b/hwe/ts/components/TipTap.vue index 0daf77a9..65265441 100644 --- a/hwe/ts/components/TipTap.vue +++ b/hwe/ts/components/TipTap.vue @@ -430,7 +430,7 @@ const compoment = defineComponent({ } const imagePath = imageResult.path; - this.editor.chain().focus().setImage({ src: imagePath }).run(); + this.editor.chain().focus().setImageEx({ src: imagePath }).run(); }, addImageLink(bvModalEvt: Event) { if (!this.imageLink) { @@ -438,7 +438,7 @@ const compoment = defineComponent({ bvModalEvt.preventDefault(); return false; } - this.editor.chain().focus().setImage({ src: this.imageLink }).run(); + this.editor.chain().focus().setImageEx({ src: this.imageLink }).run(); }, resetModal() { this.imageLink = "";