Portal | Homepage | Blog

HTML5 Not Allowed in Custom Content


#1

I want to use semantic markup (HTML5) on my custom pages, but the ‘HTML Source Editor’ in ‘Content Management’ removes it when I save the page. Erm…


#2

To be more specific:

When I use tags like:

  • <section>
  • <article>
  • <hgroup>

In the ‘HTML Source Editor’, these tags are deleted from the code, leaving a mess of a page. Can you guys update the this mechanism to allow HTML5 tags please? As of October 2014, HTML5 is a living standard, thus is theoretically production-ready.

It would be greatly appreciated if someone made it possible for us to utilize this new standard on our site’s pages.


#3

Hi Derek,

We use an open source, off-the-shelf HTML editor library called TinyMCE. There was no conscious decision made not to support HTML5 and we are happy to whitelist those tags. Are you having trouble with any other ones?

Could you take a look at this, please, @brendan?

Regards,
Donogh


#4

Right on Donogh! I sure would appreciate it :slight_smile: Thanks!

Here is a list:
HTML5 New Elements


#5

@donogh @brendan - Any word on enabling HTML5 in the editor?