- status: open --> closed
Since the final 2.0, the test case 004 is not working
anymore because of changes in the editing mode
switching features.
To solve it, make the following changes:
1. In the "editor/_source/internals/fck_1_gecko.js" file,
look for the "FCK.MakeEditable" function and remove its
first two lines. It should look like this:
FCK.MakeEditable = function()
{
this.EditorWindow.document.designMode
= 'on' ;
this.EditorWindow.document.execCommand
( 'useCSS', false, !FCKConfig.GeckoUseSPAN ) ;
}
2. In the "_testcases/004.html" file, in the "Show()"
function, replace the following lines:
oEditor.SwitchEditMode() ;
oEditor.SwitchEditMode() ;
with:
oEditor.MakeEditable() ;
3. Rebuild the compressed files using the Packager.
That's it... it should now work well on Firefox.
FredCK
Logged In: YES
user_id=572424
This patch has been included in the last version.
Logged In: YES
user_id=1547098
testcase 004 still doesn't work with FCK 2.3 in FF 1.0.4
the javascript debugger says: "Error:
FCKTools.GetElementWindow(A) has no properties
Source File: http://.../editor/js/fckeditorcode_gecko.js
Works fine in IE and newer versions of FF.
Log in to post a comment.