I'm using a HTML5 template and trying to integrate it into CMS made simple - but all the editors available for CMS made simple strip the HTML5 tags - even when I choose html5-scheme.
Is there a HTML5 compatible WYSIWYG editor for cms made simple, or what do I need to add in the advanced configuration to allow the HTML5 tags e.g. article etc.
Thanks
HTML5 WYSIWYG Editor
Re: HTML5 WYSIWYG Editor
WYSIWYG editors are typically content editors, not HTML editors, although they allow for some limited HTML formatting.kierweb wrote:I'm using a HTML5 template and trying to integrate it into CMS made simple - but all the editors available for CMS made simple strip the HTML5 tags - even when I choose html5-scheme.
Please note that a well organized CMS separates design from content, and CMSMS is no exception. Also note that there is no option to use a WYSIWYG editor on the templates editor, although you can use a code highlighter (there are a few modules for that on the forge).
However you may try to investigate the TinyMCE WYSIWYG settings and set Use html5-scheme, instead of html4 and see if it works for you. But let me stress this: that fact that you can doesn't necessarily mean that you should! The best practice is to keep design as separated as possible from content.
HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: HTML5 WYSIWYG Editor
Hi,
I include the following setting in the Extra configuration textarea of the TinyMCE WYSIWYG >> Advanced tab on the Admin console:Seems to work for me.
For example, I can cut/paste the following content (in its WYSIWYG form) and the HTML5 <time> tags are not stripped:
I'm using TinyMCE 2.9.12 with CMSMS 1.11.11.
I include the following setting in the Extra configuration textarea of the TinyMCE WYSIWYG >> Advanced tab on the Admin console:
Code: Select all
schema: "html5"
For example, I can cut/paste the following content (in its WYSIWYG form) and the HTML5 <time> tags are not stripped:
Code: Select all
<p>We open at <time>10:00</time> every morning.</p>
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
- Abraham Lincoln