Page 1 of 1

Entered Text is not saving in database with html tags

Posted: Thu Oct 02, 2008 6:18 am
by prashantmishra
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

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

Posted: Fri Jan 24, 2014 1:52 pm
by yumpa
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="" />