I spent some time investigating this today. Pretty soon I found that we have definitions for block and inline elements in the classes that extract settings from the css files. After adding a new element, I would still not get the intended behaviour for a block element. After debugging the Tiny MCE i found out that there is a bunch of defined lookup tables to find if an element if a block element or not which kind of blocks adding new block element to the Tiny MCE styles.
My guess is that it will require an update to Tiny MCE 4 to solve this in a good way. I hope that we can prioritize this after the release of EPiServer 7.5.
I'm still running into this problem? Is there a fix or work-around?
I want to be able to allow content authorers to create Figures and/or Figcaptions in in an XHTML String property.
i thought I could use the CSS Attributes and just have something like:
The headers work, but not the figure and figcaption.
I've changed the extended_valid_elements to allow figure and figcaption as described here: http://cjsharp.com/blog/2013/04/15/how-to-add-valid-elements-like-iframes-to-tinymce-in-episerver-7/
How can I get figures and figcaptions to work using tinyMCE?