fix: 이미지 안올라가는 버그 수정
This commit is contained in:
1 parent
d28f402cba
commit
f6c59ad1f5
1 file changed
+2
-2
@@ -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 = "";
|
||||
|
||||
Reference in new issue
Block a user