Add figure tag onImageUpload #2188

ConstantMath opened this Issue Jan 11, 2017 · 3 comments


None yet

2 participants


Is there a way to encapsulate the tag inside a

when I call the onImageUpload function ?

Many thanks


I'm thinking of adding this ability, along with a caption into the summernote-image-attributes plugin.


Ok, thanks for your reply.
Indeed, captions could be nice too ;-)


I found a script and added it into
The script adds a new button to the image popup that wraps the image with figure and uses the TITLE or ALT text in the figcaption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment