Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Vue from 'vue'
- import TinyMCE from 'tinymce-vue-2'
- import Theme from 'tinymce/themes/modern/theme'
- let tinymce = require('tinymce');
- if (process.env.BROWSER) {
- window.Theme = Theme
- window.tinymce = tinymce
- }
- Vue.component('tinymce', TinyMCE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement