TinyMCE and figcaption
Posted: Mon Aug 22, 2016 1:09 am
Hi all,
I'm using the latest version of CMSMS and a recently installed, up to date TinyMCE.
Here's the problem:
When I type <figure><img ...><figcaption>...</figcaption></figure> by hand, it stays.
When I add code from a TinyMCE template through the template plugin, it's stripped.
I tried adding:
valid_children: "+figure[figcaption]",
and:
extended_valid_elements: "figcaption"
No dice.
Anyone know how to fix this?
TIA!
I'm using the latest version of CMSMS and a recently installed, up to date TinyMCE.
Here's the problem:
When I type <figure><img ...><figcaption>...</figcaption></figure> by hand, it stays.
When I add code from a TinyMCE template through the template plugin, it's stripped.
I tried adding:
valid_children: "+figure[figcaption]",
and:
extended_valid_elements: "figcaption"
No dice.
Anyone know how to fix this?
TIA!