Browse Source

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

pull/3298/head
crayymumu 4 years ago committed by GitHub
parent
commit
fe22b3cd94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/components/Tinymce/index.vue

5
src/components/Tinymce/index.vue

@ -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