FCKEditor 2.2 and 2.3 hangs(freezes) IE when you have multiple instance on a page.
Culprit is call of FCK.focus(), which in turn sets focus to EditorWindow, in 'onfoucs' event handler function. This start an event chain loop
in which focus keeps shuttling between two editor instances.
Commented call to FCK.focus() to resolve this issue. Wonder if this will result in some undesirable behaviour.
Culprit code in 2.2 : fckeditorcode_ie_1.js
function Window_OnFocus(){
FCK.Focus(); /*culprit ..comment it*/
FCK.Events.FireEvent("OnFocus");
};
Culprit code in 2.3 : fckeditorcode_ie.js
function FCKFocusManager_Win_OnFocus_Area(){
FCKFocusManager_Win_OnFocus();
FCK.Focus(); /*culprit ..comment it*/
}
Culprit is call of FCK.focus(), which in turn sets focus to EditorWindow, in 'onfoucs' event handler function. This start an event chain loop
in which focus keeps shuttling between two editor instances.
Commented call to FCK.focus() to resolve this issue. Wonder if this will result in some undesirable behaviour.
Culprit code in 2.2 : fckeditorcode_ie_1.js
function Window_OnFocus(){
FCK.Focus(); /*culprit ..comment it*/
FCK.Events.FireEvent("OnFocus");
};
Culprit code in 2.3 : fckeditorcode_ie.js
function FCKFocusManager_Win_OnFocus_Area(){
FCKFocusManager_Win_OnFocus();
FCK.Focus(); /*culprit ..comment it*/
}
RE: FCKEditor 2.2 and 2.3 hangs(freezes) IE
To reproduce:
Simply hit spell check on the Javascript samples 9, 10 or
11 and you will get a freeze up if you are using IE and
ieSpell.
Im also wondering if this will result in some undesirable behavior tho...
Thanks!
RE: FCKEditor 2.2 and 2.3 hangs(freezes) IE
The issue occurs when I have more then 1 FCK editor text area and I change focus from my IE to another app and then click on the FCK editor. This causes the IE to get focus as well as the FCK editor. It seems to go into an endless loop.
Anyone run into this before ? Any ideas ?
Thanks in advance.