Hello,
I try FCKeditor for my pages (http://zlatylist.org), but I have primitive problem...
Source:
<script type=\"text/javascript\"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = 'ukazky/nic/fckeditor/' ; oFCKeditor.Height = 500 ; oFCKeditor.Value = '$content_textarea' ; oFCKeditor.Create() ; //--> </script>
Re: Can I fix \n in jscript?
You could maybe try something like (in PHP, before you print it out)...
however there is little point to this as you could just use
in your php file, then you wouldn't have to worry about the new line error.
Hope this helps
Re: Can I fix \n in jscript?