Skip to content

Commit

Permalink
perf[Tinymce]: remove useless code (PanJiaChen#3295)
Browse files Browse the repository at this point in the history
  • Loading branch information
crayymumu authored and Trong. Pham Van - CMC Global DU1.19 committed Jul 22, 2022
1 parent a443964 commit 4b422e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Tinymce/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}" >`))
}
}
}
Expand Down

0 comments on commit 4b422e0

Please sign in to comment.