vue-mce icon indicating copy to clipboard operation
vue-mce copied to clipboard

TinyMce was not found

Open AlexyOd opened this issue 1 year ago • 0 comments

index.jx

import Vue from 'vue'
import Axios from 'axios'
import vClickOutside from 'v-click-outside'
import Toast from "vue-toastification";
import VueMce from 'vue-mce';



// Import the CSS or use your own!
import "vue-toastification/dist/index.css";
import 'floating-vue/dist/style.css'

import Inputmask from 'inputmask'
const VueInputMask = {
  install: function(Vue, options) {
      Vue.directive('mask', {
          bind: function(el, binding) {
              Inputmask(binding.value).mask(el);
          }
      });
  }
}

Vue.use(vClickOutside)
Vue.use(VueInputMask)
Vue.use(Toast)
Vue.component('mce', VueMce );

Vue.prototype.$http = Axios;

component

 <vue-mce  v-model="form.description" />
...
import { component } from 'vue-mce';
...
 components: {
...
        'vue-mce': component,
    },



AlexyOd avatar Sep 01 '23 14:09 AlexyOd