I'm having problems using Safari. Firefox works just fine.
FCK editor appears and works correctly after a page is refreshed. But if a page is loaded normally, then the FCK editor doesn't load, and I'm left with a textarea that is white and broken.
If i manually refresh the page (such as /node/story/add ) then it works fine 100% of the time. But this is really annoying.
If I have Safari in develop/debug mode and disable caches, then it works all the time too.
I suspect that this may be because of a caching bug in Safari, but I'd like to know if there's a fix we can implement in the code to work around the bug for all the end users who may have that problem.
I'm using drupal 6.2, fckeditor.module 6.x-1.x-dev, with fckeditor version 2.6.1, Safari 3.1.1
Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 277634.patch | 774 bytes | wwalc |
Comments
Comment #1
mattconnolly commentedActually, when Safari is in Develop mode with Caches disabled, sometimes it still doesn't load the FCK editor into the textarea.
Comment #2
mattconnolly commentedIt's definitely not a caching issue with the fckeditor.html file that is loaded in the iframe. I added some apache configs to add a PHP handler to all HTML files, and used php to disable caches in that file and the same thing happens.
Comment #3
Antoine Lafontaine commentedI confirm the same behaviour on my setup (drupal 6.2, fckeditor.module 6.x-1.x-dev, with fckeditor version 2.6.1, Safari 3.1.1)
Comment #4
Jorrit commentedDoes this problem only occur when using fckeditor with Drupal or also stand alone?
Comment #5
Jorrit commentedComment #6
Antoine Lafontaine commentedI've used it only with Drupal, but after reading your post, I've checked out the html samples that comes with FCKEditor and there doesn't seem to be any problem of the sort (altough I've noticed some problems with the bottom border disapearing in most of the samples - CCS problem possibly, haven't had enought time to investigate this issue which is unrelated with this queue...)
Maybe it's a problem with the order the javascript files are loaded in Drupal... I will try to investigate, but I do not really know where to start looking.
Hope this helps.
Comment #7
Garrett Albright commentedConfirmation with OmniWeb 5.7, which uses Webkit 523 (the same as Safari 3.0.x).
Comment #8
Jorrit commentedIs it still happening with the 6.x-1.3-beta2?
Comment #9
Garrett Albright commentedYes, that is the version we are running.
(Nitpick: Do not fall prey to IE's terminology. It's "reload," not "refresh." And, yes, I'm still rather fond of the term "hotlist"…)
Comment #10
mattconnolly commentedSorry. I've had to deploy Tiny MCE on our site because we couldn't get FCK to work with Safari, so testing it's not a priority for me - although I'll try get around to when I get a chance....
Comment #11
jbomb commentedI am having the same issues outlined above (drupal 6.3, fckeditor.module 6.x-1.3-beta2, with fckeditor version 2.6.2, Safari 3.1.1).
The editor disappears every other page load. I cannot edit the textarea when the editor is absent (either as a result of not loading or if the user account does not have access to a fckeditor profile).
Comment #12
wwalc commentedI don't have Mac and this bug seems to be fixed in Safari 3.1.2 for Windows, however I managed to reproduce this issue in Safari 3.0.4 beta for Windows.
It looks like there is a problem with $(document).ready.
Try the attached patch and let me know if it works for you.
Comment #13
wwalc commentedComment #14
wwalc commentedComment #15
ginojames commentedI was having this problem and wwalc's patch worked for me. Running Safari 3.1.2 for Mac, Drupal 6.2, fckeditor.module 6.x-1.3-dev, FKC 2.6.3B. Thanks !
Comment #16
Garrett Albright commentedWorks for me on OmniWeb. (Had to apply the patch manually, though.) Using setTimeout is… clever, but if it works, it works.
Comment #17
wwalc commentedGreat, I'm marking this issue as fixed. I committed patch to CVS, let's wait and see if someone reports any problems with it.
Comment #18
dnewkerk commentedThis new dev version appears to have worked for me... OS X 10.5.4, Safari 3.1.2, Drupal 6.3, fckeditor.module 6.x-1.3-dev (July 31), FCK 2.6.3 beta
Wasn't sure at first, but seems fine after clearing my cache and restarting Safari.
Also fixes another issue I was going to look for an answer on tonight, so excellent :) (clicking on buttons sometimes froze up the browser screen before... guessing that's fixed in another issue). Thanks!
Comment #19
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.