Hi Guys and Gals,
I have a problem, that I can't fix, can anyone help me???
The problem is: I have made an admin screen, with a button to trigger a popup window to open the FCKeditor. What I need is to parse content from the parent textarea to the FCKeditor popup window! It is killing me to solve the damn problem..
Please can anyone provide some assistance in the matter..
Much Appreciated
Phil
P.S I am using FCKEditor (php mode)
I have a problem, that I can't fix, can anyone help me???
The problem is: I have made an admin screen, with a button to trigger a popup window to open the FCKeditor. What I need is to parse content from the parent textarea to the FCKeditor popup window! It is killing me to solve the damn problem..
Please can anyone provide some assistance in the matter..
Much Appreciated
Phil
P.S I am using FCKEditor (php mode)
RE: Frustation
I had the same problem and wasted one whole day on it. For some reason if you set the value like this with PHP:
...
$oFCKeditor->Value = $HTMLcontent;
$oFCKeditor->Create(); // wont parse the HTML
so instead I made a hidden variable:
<input name="fckval" type="hidden" value="echo($HTMLcontent)" />
then the FCKeditor would be in javascript:
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'body' ) ;
oFCKeditor.BasePath = "templates/martha/FCKeditor/" ;
oFCKeditor.Height = 300;
oFCKeditor.Value = document.forms[0].fckval.value ;
oFCKeditor.Create();
</script>
content is parsed so I can edit HTML again.