HTML5 WYSIWYG Editor

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Locked
kierweb
Forum Members
Forum Members
Posts: 41
Joined: Tue May 15, 2007 8:45 pm

HTML5 WYSIWYG Editor

Post by kierweb »

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
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: HTML5 WYSIWYG Editor

Post by Jo Morg »

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.
WYSIWYG editors are typically content editors, not HTML editors, although they allow for some limited HTML formatting.
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!
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am
Location: USA

Re: HTML5 WYSIWYG Editor

Post by fredp »

Hi,

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"
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:

Code: Select all

<p>We open at <time>10:00</time> every morning.</p>
I'm using TinyMCE 2.9.12 with CMSMS 1.11.11.
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
Locked

Return to “The Lounge”