Hello - I'm invoking FCKEditor with the following:
<div><input type=\"hidden\" id=\"FCKeditor1\" name=\"FCKeditor1\" value=\"\" style=\"display:none\" /><input type=\"hidden\" id=\"FCKeditor1___Config\" value=\"\" style=\"display:none\" /><iframe id=\"FCKeditor1___Frame\" src=\"/fck/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default\" width=\"100%\" height=\"400\" frameborder=\"0\" scrolling=\"no\"></iframe></div>
How would I insert a textarea value in the editor?
<div><input type=\"hidden\" id=\"FCKeditor1\" name=\"FCKeditor1\" value=\"\" style=\"display:none\" /><input type=\"hidden\" id=\"FCKeditor1___Config\" value=\"\" style=\"display:none\" /><iframe id=\"FCKeditor1___Frame\" src=\"/fck/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default\" width=\"100%\" height=\"400\" frameborder=\"0\" scrolling=\"no\"></iframe></div>
How would I insert a textarea value in the editor?
RE: inserting a textarea value (for editing)
$sBasePath = "/fck/";
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Value = $article ;
$oFCKeditor->Create() ;