I have installed FCK ver. 2.2.
I want to use one instance of FCK for more than one textarea. So I use:
<FCK:editor id="fckeditor" basePath="../fck_editor">abc</FCK:editor>
and I use fckAPI to get and set HTML text. But problem is when I move (via document.getElementById(new_layer).appendChild(fck_layer)) layer with fck.
In IE it's fast operation, but in Firefox it's look like FCK is initializing from anew. And when i try do define new fckAPI and use getXHTML, then I have error in console:
"FCKCodeFormatter is not defined"
I want to use one instance of FCK for more than one textarea. So I use:
<FCK:editor id="fckeditor" basePath="../fck_editor">abc</FCK:editor>
and I use fckAPI to get and set HTML text. But problem is when I move (via document.getElementById(new_layer).appendChild(fck_layer)) layer with fck.
In IE it's fast operation, but in Firefox it's look like FCK is initializing from anew. And when i try do define new fckAPI and use getXHTML, then I have error in console:
"FCKCodeFormatter is not defined"