Hello. I have a very strange problem. I have from with about 6 fields. One filed have name content and also id content. I use ReplaceTextarea() function to replace a textarea.
Full code:
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'content' ) ;
oFCKeditor.BasePath = "external/FCKeditor/" ;
oFCKeditor.Height = 500 ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
Everything works well. Data is loaded in editor and all is ok. And when I try bold some text or something else everything is ok. But when I press the Submit button of the form the bold and other actions are cleaned. So I get only clean text from the content filed. Strange is when I add some more text to already existing text it works well. But bolding or something else is not sended with content field.
If I have text loaded in textarea: "Something 123" and bold it with FCKEditor so source looks like "<strong>Something 123</strong>" but when I output a content in php from the POST I get only "Something 123" <strong> and other tags are lost. I have no striping or cleaning html functionality or something.
Where is the problem ?
I have tryed with create() function but it is still the same problem.
Can somebody PLEAs help me out with this ?
Sorry for not so good english but I think you can understand me.
Thanks
Cheers
Mon, 05/22/2006 - 01:16
#1
RE: No tags in POST
RE: No tags in POST