We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c06214 commit fe22b3cCopy full SHA for fe22b3c
src/components/Tinymce/index.vue
@@ -204,10 +204,7 @@ export default {
204
window.tinymce.get(this.tinymceId).getContent()
205
},
206
imageSuccessCBK(arr) {
207
- const _this = this
208
- arr.forEach(v => {
209
- window.tinymce.get(_this.tinymceId).insertContent(`<img class="wscnph" src="${v.url}" >`)
210
- })
+ arr.forEach(v => window.tinymce.get(this.tinymceId).insertContent(`<img class="wscnph" src="${v.url}" >`))
211
}
212
213
0 commit comments