vue-froala-wysiwyg icon indicating copy to clipboard operation
vue-froala-wysiwyg copied to clipboard

How to add default icon and RegisterCommand?

Open artjerom opened this issue 5 years ago • 4 comments

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

artjerom avatar May 15 '19 16:05 artjerom

you can modify app.vue file to add custom buttons ,i have attached app.vue file with this comment. App.zip

nikpok avatar May 28 '19 07:05 nikpok

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.

seal713 avatar May 30 '19 06:05 seal713

Same error. Following

GaddMaster avatar Oct 03 '19 22:10 GaddMaster

Hi @nikpok, can you take a look at this please? I am getting the same error as above two comments.

m-zuro avatar Oct 09 '20 10:10 m-zuro