A few people have said they have been having problems with the text area not appearing in Firefox. This isn’t a problem I have had but for those of you who have, thanks to James Penny there is a solution…..
Simply add something like :width => ‘400’, :height => ‘200’ to the fckeditor_textarea call and you should get the editor appearing as expected. Obviously you can change the dimensions to suite your needs.
The solution also explains why I never saw the issue – I have always had the dimensions specified……










11 Comments
Hi Scott,
Adding the :width and :height attributes doesn’t solve the problem for me. However, the hack of removing all ‘Style’ entries in all FCKConfig.ToolbarSets[] mentioned by one of the commenter (sorry for forgetting the name) does solve my problem.
@acw1668 – Ah yes, that was the other tip. Cheers Scott.
The problem is not actually in width/height.
I had the same problem, spent some googling here and there, and finally discovered, that Mongrel/Webrick gives XML-files with a wrong content-type. Fixing content type _and clearing browser cache_ would definitely give it’s positive results.
To do so go to your application’s config directory, create a file (i.e. additional_mime.xml) with content like:
.xml: text/xml
And then stop and start your mongrel again, but with a command like
mongrel_rails start -m config/additional_mime.xml
But do not forget to clear browser cache if this doesn’t work. It could save you another half an hour
Hi Fester, thanks for outlining that solution, hopefully between these 3 tips everyones issues should be solved.
Cheers
Scott.
Hi Fester, I have the same problem here but theoretically my Apache server is serving the xml files right? I even tested stopping my mongrel instances and I was able to get the xml file, this confirmed that Apache was serving the xml requests…
So I think it should be another problem yet…
I appear to be having the same symptoms but it looks like the problem is different. It displays fine in Firefox but in IE there is a JavaScript error reported.
Line: 73
Char: 4212
Error: ‘length’ is null or not an object
Code: 0
URL: http://localhost:3006/javascripts/fckeditor/editor/fckeditor.html?InstanceName=entry_1_body_editor&Toolbar=Simple
I have checked the JavaScripts but cannot find any obvious problems.
hi where can i find it this call ‘fckeditor_textarea’
which file is it in? ASP.net?
cheers
Hi. I have a problem using fckeditor in Firefox. when open a page, a page show me a error message " Error loadding http://mypage.com/myconfig.js"
If you can help me I will thank you so much
Colpas
Where you able to solve the problem Colpas ?
THANK YOU! I have been beating my head against the wall for days trying to figure this out – clearing the browser cache fixed it for me.
Everything worked fine in Firefox, but didn’t have the text area in IE (once again I ask, "how is this the most widely used browser in the world?!?!?"). I got the same error RJ got: Line: 73 Char: 4212 Error: ‘length’ is null or not an object Code: 0.
Looked in fckconfig.js and found an extra comma at the end of one of the Toolbar functions. Removed it, cleared my IE cache, and now all is well.
Thanks, everyone, for the help!