TinyMCE and Vuejs as a component
I am trying to make a Vue Component for TinyMCE but I am facing some problems that I can not solve! Can anybody help me? Or maybe advise a better way to walk ? There is my Component import Vue from 'vue' import _ from 'lodash' export default { props: { model: { default () { return null } }, showLeadInfo: { default () { return false } } }, data() { return { id: 'editor_' + _.random(10000, 99999) } }, watch: { model() { if (this.model == null) tinyMCE.activeEditor.setContent(''); } }, ready() { var vm = this; tinyMCE.baseURL = "/vendor/tinymce/"; tinymce.init({ selector: "#" + vm.id, theme: