PerfectlyNormal/tinymce-rails-imageupload — pull request #63 by alexJunger (2014-11-17 05:22:13+00:00)
Title: Allowing to wrap <img> in <figure>

I thought it does the description field justice to only put it in the alt attribute, I tweaked this a little to allow wrapping in a

...

In the init call, add ```uploadimage_figure: true``` to create this structure:

```html

whatever

```

You can also pass other classes with ```uploadimage_figure_class``` and ```uploadimage_figcaption_class```