fix: 이미지 안올라가는 버그 수정
This commit is contained in:
@@ -430,7 +430,7 @@ const compoment = defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const imagePath = imageResult.path;
|
const imagePath = imageResult.path;
|
||||||
this.editor.chain().focus().setImage({ src: imagePath }).run();
|
this.editor.chain().focus().setImageEx({ src: imagePath }).run();
|
||||||
},
|
},
|
||||||
addImageLink(bvModalEvt: Event) {
|
addImageLink(bvModalEvt: Event) {
|
||||||
if (!this.imageLink) {
|
if (!this.imageLink) {
|
||||||
@@ -438,7 +438,7 @@ const compoment = defineComponent({
|
|||||||
bvModalEvt.preventDefault();
|
bvModalEvt.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.editor.chain().focus().setImage({ src: this.imageLink }).run();
|
this.editor.chain().focus().setImageEx({ src: this.imageLink }).run();
|
||||||
},
|
},
|
||||||
resetModal() {
|
resetModal() {
|
||||||
this.imageLink = "";
|
this.imageLink = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user