forked from devsam/core
fix: 이미지 안올라가는 버그 수정
This commit is contained in:
@@ -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