Page 1 of 1

Possible to disable tinymce for page but enable for blog?

Posted: Mon Oct 06, 2014 4:48 pm
by sagelike
Hi there,

We've created a complex custom one page parallax template which uses a lot of animations which tinymce has a tendency to break.

We disabled tinymce for pages to prevent that but, I would like to keep it enabled for the Blog Module which doesn't have this issue.

Is there a way to do this?

Thanks
G

Re: Possible to disable tinymce for page but enable for blog

Posted: Mon Oct 06, 2014 6:56 pm
by velden
The options tab of pages gives you that option.
Or change the {content} tag in your template: {content wysiwyg=false}

Re: Possible to disable tinymce for page but enable for blog

Posted: Mon Oct 06, 2014 7:05 pm
by sagelike
Thank You. I should have thought of that!

Re: Possible to disable tinymce for page but enable for blog

Posted: Wed Oct 08, 2014 9:23 pm
by psy
You can also use the strip_tags modifier on any variable, eg {$myvar|strip_tags}.

This way you can have your blog summary on the home page as plain text and still show the WYSIWYG summary version on another page.