perf[Tinymce]: remove useless code (#3295)

pull/3298/head
crayymumu 4 years ago committed by GitHub
parent 7c06214190
commit fe22b3cd94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -204,10 +204,7 @@ export default {
window.tinymce.get(this.tinymceId).getContent()
},
imageSuccessCBK(arr) {
const _this = this
arr.forEach(v => {
window.tinymce.get(_this.tinymceId).insertContent(`<img class="wscnph" src="${v.url}" >`)
})
arr.forEach(v => window.tinymce.get(this.tinymceId).insertContent(`<img class="wscnph" src="${v.url}" >`))
}
}
}

Loading…
Cancel
Save