I have a form made up of 3 tabs (each one is a div that gets hidden while the page is loading). When the page loads, it hides the second and third tabs and shows the first tab. If a FCKEditor is instanced to replace a textarea inside one of the hidden divs, it fails to initialize properly on Firefox. This seems to work just fine on IE.
I've included a sample file, but you have to tweak the html file to point to the location of your FCKEditor.
In the html file, look for the string "Ad Hoc Notes:". That's where the FCK should be instanced. In the form itself, it's on the second tab.
Also, if I hide the tabs after they are created (which causes a nasty flash when loading the page but causes FCKEditor to instance itself before the textarea is hidden), the FCKEditor replaced the textarea correctly in Firefox.
I currently instance FCKEditor while the page is loading inline inside the hidden div. Will instancing it from the onload event after all the divs are hidden fix this issue? If so, I can do as a work around.
I've included a sample file, but you have to tweak the html file to point to the location of your FCKEditor.
In the html file, look for the string "Ad Hoc Notes:". That's where the FCK should be instanced. In the form itself, it's on the second tab.
Also, if I hide the tabs after they are created (which causes a nasty flash when loading the page but causes FCKEditor to instance itself before the textarea is hidden), the FCKEditor replaced the textarea correctly in Firefox.
I currently instance FCKEditor while the page is loading inline inside the hidden div. Will instancing it from the onload event after all the divs are hidden fix this issue? If so, I can do as a work around.
RE: Using ReplaceTextarea, the replacement fa
How did you include that file?
Don't have a solve other than to say "did you sear h the forum", as I seem to remember someone postin g a solution to this problem.
Did you already check out that solution?
ciao mate!
RE: Using ReplaceTextarea, the replacement fa
RE: Using ReplaceTextarea, the replacement fa
RE: Using ReplaceTextarea, the replacement fa
Hi,
It's a "feature" of the gecko editor where the editor is switched out of design mode whenever it gets hidden.
Try using my patch :
https://sourceforge.net/tracker/index.p ... tid=543655
Ben