HTML5 Figure, Figcatpion and TinyMCE

2 posts by 2 authors in: Forums > CMS Builder
Last Post: February 22, 2016   (RSS)

By Damon - February 22, 2016

Hi Jayme,

In the current version of TinyMCE, what about using the Template Plugin for adding in custom template content:
http://archive.tinymce.com/wiki.php/Plugin3x:template

You could create a template with code that could be selected and inserted into the WYSIWYG editor content like this:

<figure>

  <img src="image.jpg" alt="NAME" width="304" height="228">

  <figcaption>Image caption</figcaption>

</figure>

The user could then select the image and replace with another along with select and replace the image caption text.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/