|
@@ -247,7 +247,7 @@ export async function pasteHandle(event) {
|
|
for (let index = 0; index < htmlItems.length; index++) {
|
|
for (let index = 0; index < htmlItems.length; index++) {
|
|
await pasteHtmlItem(htmlItems[index]);
|
|
await pasteHtmlItem(htmlItems[index]);
|
|
}
|
|
}
|
|
- // _this.$refs.editor.dispatchEvent(new Event("input"));
|
|
|
|
|
|
+ _this.$refs.editor.dispatchEvent(new Event("input"));
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -261,7 +261,7 @@ export async function pasteHandle(event) {
|
|
const file = fileItems[index].getAsFile();
|
|
const file = fileItems[index].getAsFile();
|
|
await pasteImage(file);
|
|
await pasteImage(file);
|
|
}
|
|
}
|
|
- // _this.$refs.editor.dispatchEvent(new Event("input"));
|
|
|
|
|
|
+ _this.$refs.editor.dispatchEvent(new Event("input"));
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -277,5 +277,4 @@ export async function pasteHandle(event) {
|
|
console.log("... paste: other ");
|
|
console.log("... paste: other ");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- // _this.$refs.editor.dispatchEvent(new Event("input"));
|
|
|
|
}
|
|
}
|