forked from AkkomaGang/admin-fe
feature: tinymce add setContent && getContent method
This commit is contained in:
parent
658abf664d
commit
9463c50e06
1 changed files with 6 additions and 0 deletions
|
@ -150,6 +150,12 @@ export default {
|
|||
})
|
||||
},
|
||||
methods: {
|
||||
setContent(value) {
|
||||
window.tinymce.get(this.tinymceId).setContent(value)
|
||||
},
|
||||
getContent() {
|
||||
window.tinymce.get(this.tinymceId).getContent()
|
||||
},
|
||||
imageSuccessCBK(arr) {
|
||||
const _this = this
|
||||
arr.forEach(v => {
|
||||
|
|
Loading…
Reference in a new issue