How to add extra button inside mv-popup? #906
-
Hi I'm trying to add an extra button while editing images, inside mv-popup I guess best approach would be to use Mavo.Elements.register() , as cropper plugin is using, but unfortunately the documentation for adding a new element type is not ready yet, so in my codepen here I tried using insertAdjacentHTML in javascript, looking for mv-upload-popup, or even using mv-action directly on (as on page load, popup is not present yet) ...but it doesn't want to work... Am I missing something? Or is this not possible the way I'm trying to do? My goal is to add an extra button, to let user be able to search for a photo in unsplash service |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey there, I would suggest using the You might find helpful this pen and the Bliss docs. |
Beta Was this translation helpful? Give feedback.
Hey there,
I would suggest using the
primitive-createuploadpopup-beforereturn
Mavo hook (the one the Cropper plugin is based on).You might find helpful this pen and the Bliss docs.