I tested many of these free Editors but only a few are as good as this one. But there is still a big problem I coundn't solve:
If you submit your html with to a PHP-Script, all the html sourcecode is submitted without newlines (so the whole sourcecode is unformatted). This is very bad when you also edit the htmlcode later on in a normal textarea.
This problem is also noticable in the online demo. All htmlcode is written in one line without linebreaks.
I hope there is a easy trick to get this problem solved. Maybe someone can help me...
If you submit your html with to a PHP-Script, all the html sourcecode is submitted without newlines (so the whole sourcecode is unformatted). This is very bad when you also edit the htmlcode later on in a normal textarea.
This problem is also noticable in the online demo. All htmlcode is written in one line without linebreaks.
I hope there is a easy trick to get this problem solved. Maybe someone can help me...
RE: Deleting Source Format on Submit
RE: Deleting Source Format on Submit
I just want to keep the format of the html sourcecode! When you edit your htmlcode with FCKeditor, all htmlcode is posted in one line, without newlines and so on. Of course this newlines cann't be restored by php.
I hope there is still a solution!
RE: Deleting Source Format on Submit
str_replace("<br/>", "<br/>\n", $sourcehtml);
This will not alter in anyway your code.
RE: Deleting Source Format on Submit
I do NOT want to delete anything, I just want FCKeditor letting the sourcecode as it is.
FCKeditor deletes newlines and tabulators! And this is exactly want I do NOT want.