vue-froala-wysiwyg
vue-froala-wysiwyg copied to clipboard
How to add default icon and RegisterCommand?
Trying to make something similar to this We use nuxt, froala is loaded as a plugin.
import "froala-editor/js/froala_editor.pkgd.min";
import Vue from "vue"
;
import VueFroala from "vue-froala-wysiwyg";
Vue.use(VueFroala);
this is the code that loads the plugin. How and where to call method RegisterCommand
?
Tried import froala from "file-editor/js/frame_editor.png.min"
;
in this case, the froala is an empty object
you can modify app.vue file to add custom buttons ,i have attached app.vue file with this comment. App.zip
I tried the App.zip, but in the console it shows: __WEBPACK_IMPORTED_MODULE_0_vue_froala_wysiwyg___default.a.DefineIcon is not a function
Any clue, please.
Same error. Following
Hi @nikpok, can you take a look at this please? I am getting the same error as above two comments.