Hello everyone,
After searching trough this forums, the documentation and Google for some hours now, I've decided to post my issue here. I've come across one or two other posts with the same issue, but no fix has been found yet.
The issue:
Let's say I have a very long form, ie 50 fields. The very last one is a textarea with CKeditor enabled. The issue is when the instance of CKEditor loads, it automaticly "scroll" the page down to this instance of CKEditor, in this example, the bottom of the page.
Weird enough, this only happens in Firefox (tested 3.0 and 3.5). IE, Opera, Chrome, Safari and even Netscape are not having this issue.
Tried:
- In config.js I've put "config.startupFocus = false;". No results.
- In a javascript code, I've put the very first field of my form to "focus()" on "window.load". The first field is given focus on load of the page correctly, but the page still scrolls down by itself right after the focus is given to the first field, scrolling to the very bottom of my form again.. where CKeditor is. It's still no luck.
- According to ticket #4397, this issue would've been fixed with the 4295 patch. I've downloaded the file plugin.js of this patch release and overwrote mine with this one. Still no good...
Using:
- CKeditor 3.0
- no CKFinder installed.
- Firefox 3.5
- Windows XP locally
- Windows Server remotly
Notes:
According to our research, the bug occurs when the WYSWYG load. When putting config.startupMode = 'source' in the config.js file, the "scrolling bug" do not occurs. It is only when WYSWYG is enabled and loaded that the bug happens.
Thanks in advance for your help!!
Thu, 10/15/2009 - 18:07
#1
Re: ScrollTo onLoad
Re: ScrollTo onLoad
Hi Sparko,
I had the same problem until 5 minutes ago. This thread gave the answer:
http://cksource.com/forums/viewtopic.php?f=11&t=15686
I upgraded from 3.0 to 3.0.1 without overwriting (deleting dir 'ckeditor' before extrating the ZIP). Copied my backupped 'config.js' to the new version/dir, et voilá.
Hope it helps!