in previous versions i can use this:
But in this version the page will not be load.
I must strip everything between <body> and </body>
and then the editor works fine...
I 'll hope you understand my problem..if not, please let me know
$oFCKeditor->Value = '<html><head>etc. etc. </body></html>'
But in this version the page will not be load.
I must strip everything between <body> and </body>
and then the editor works fine...
I 'll hope you understand my problem..if not, please let me know
RE: 1.6 problem
Emilio,
Edit the fck_editor.js and go down to about line 137. It should look similar to the following:
You can edit this value to look like this:
objContent.DocumentHTML = html ;
That will allow you to use your own html doctype and other custom coding.
Hope that helps.
Best regards,
boduje
RE: 1.6 problem
I tried the posted solution, but I had the Problem that after this 'fix' I couldn't save easy text into my database.
I replaced
with
objContent.DocumentHTML = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>' + html +;
and it works for me.