Skip to content
Snippets Groups Projects
Commit 9463c50e authored by Pan's avatar Pan
Browse files

feature: tinymce add setContent && getContent method

parent 658abf66
No related branches found
No related tags found
No related merge requests found
......@@ -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 => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment