Entered Text is not saving in database with html tags

Need help with a WYSIWYG-editor in Joomla! 1.0.x? This is the place to be.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
prashantmishra
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Thu Oct 02, 2008 6:06 am
Location: Chandigarh

Entered Text is not saving in database with html tags

Post by prashantmishra » Thu Oct 02, 2008 6:18 am

Hi,

I am using TINYMCE WYSIWYG Editor in joomla 1.0.

I created a component in back end and used editor there I entered some text in editor and bold some part of text and color it red and used some other formating with text. and saved it, but in database it saved only text no html tags. Means before saving to database it is stripping html tags.

Can anybody help me how can I save it with html tags in database.

This problem is only with the components I created himself. Not with built in components or articles of joomla. There it is saving html tags in database and formated text is displayed at front end.

rgds
PM

yumpa
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Mar 15, 2007 2:07 pm

Re: Entered Text is not saving in database with html tags

Post by yumpa » Fri Jan 24, 2014 1:52 pm

Not sure if you have still this problem, but maybe for others, the solution is to specify filter="raw".

An example:

<field name="emailBody" type="editor" filter="raw" label="Email body" description="" />


Locked

Return to “WYSIWYG Editors - 1.0.x”