I'm having trouble with a bad IE7 (maybe IE6 as well) focus bug with FCKEditor 2.4.3.
I can't even seem to find any entries in the forums which is surprising. Basically, with FCK and IE you can modify any content on the web page using the FCK toolbar. I think it stems from a focus bug in FCK and IE.
The scenario is really simple to reproduce and it can even be done with the "Demo" on the FCK site.
1. Go to the FCK demo on the FCK website (I think it's http://www.fckeditor.net/demo) or load your FCK with any other page.
2. Enter the FCK editor area so that the toolbar is enabled.
3. Then focus on an area outside the FCK editor like highlighting some text in the webpage or whatever. Notice that the toolbar isn't disabled when you do this.
4. Start clicking toolbar buttons like alignments, numbered or unnumbered lists, etc. It's actually putting that code in the page DOM where the focus is instead of inside the editor. You can even make it screw up the toolbar itself as long as the cursor isn't inside the writing area.
Firefox doesn't do this... so I was wondering if this is a known bug that was patched recently?
I've been working on a workaround by catching the focus/blur events of the editor and disabling the toolbar but any other suggestions would be great.
Thanks.
Sun, 08/12/2007 - 15:29
#1