When I create a field definition for a textarea, is there a way to always disable the WYSIWYG editor, and instead be in HTML mode just for that box on article pages?
Thanks for any advice
How to disable WYSIWYG for texarea boxes for News Module
Re: How to disable WYSIWYG for texarea boxes for News Module
Haven't checked but in your output template you could use the strip_tags modifier to remove the HTML.
{$myvar|strip_tags}
{$myvar|strip_tags}
Re: How to disable WYSIWYG for texarea boxes for News Module
Thank you psy,
I meant more from an admin perspective...if the custom textarea field can be an HTML window by default, rather than a rich text editor window.
So yes, I want HTML in the textarea, but not all the extra elements that the rich text editor produces on the fly.
I meant more from an admin perspective...if the custom textarea field can be an HTML window by default, rather than a rich text editor window.
So yes, I want HTML in the textarea, but not all the extra elements that the rich text editor produces on the fly.