I entered HTML5 elements – specifically
figcaptionin the HTML mode of the tinymce editor. Save the post and view on the front-end and it works – the HTML5 elements are rendered properly.
However, if I go back to the tinymce editor and switch to the Visual mode, it breaks the HTML5 markup. In this particular case, the
figureelements becomes empty ->
<figure></figure>— and all the markup that was previously saved inside
figureis now outside of it and immediately after it in the source as well as the HTML mode if I go back there.
Seems to be a conflict with how the Visual mode parses HTML5. Any ideas how to fix this?
- The topic ‘[Plugin: HTML5ify for WP] HTML5 Elements Break When Switching From HTML To Visual Mode’ is closed to new replies.