I am saving the HTML code that is generated by FCKeditor in a text file so that users can edit text with FCKeditor and it can be included in a web page dynamically. If the user wants to re-edit the content in FCKeditor, how can I get FCKeditor not to display the html tags in the editor, but rather to interpret them so the user sees the WYSIWIG formatting in effect rather than the html source tags.
I am currently using the standard configuration file with no changes.
Thank you very much.
I am currently using the standard configuration file with no changes.
Thank you very much.
Re: how to display html tagged text in FCKeditor
I just imported the file as an .html file and then I didn't have to worry about the recursion problem:
$info = fopen('../products.html', 'r') or die('sorry! $php_errormsg');
$contents = fread($info, filesize ('../products.html'));
fclose ($info);
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/ed/';
$oFCKeditor->Value = $contents;
$oFCKeditor->Create() ;
hth!
Michael