THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

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

pull/3298/head
crayymumu 3 months ago
committed by GitHub
parent
commit
fe22b3cd94
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/components/Tinymce/index.vue

+ 1
- 4
src/components/Tinymce/index.vue View File

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