Log in or register to post comments
Last post
Is it any fix for FCK Editor 2.x
I have faced the problem 5149 which have been fixed in CK Editor 3.3.
(see http://dev.fckeditor.net/ticket/5149) Is there any patch or method
to fix in version FCK Editor 2.6.x? Unfortunately we can not upgrade because
it is embedded version of the editor in Oracle Apex 3.x.

We do appreciate for any assistance.
Re: Is it any fix for FCK Editor 2.x
I think this is a serious problem for all users of 'old' fckeditor.
I filed a ticket for it, see: http://dev.fckeditor.net/ticket/5784

(But I don't know if the development team is still repairing bugs in fckeditor ) ???
Re: Is it any fix for FCK Editor 2.x
This problem is still exist. No solution for that. I have tried before sometimes but i could not got the solution for it. So it is continue...
Re: Is it any fix for FCK Editor 2.x
Well, in the mean time i'm using a very very dirty trick to tackle this bug.

In /_source/commandclasses/fckfitwindow.js on line 176 I added this piece of code:
   if ( FCKBrowserInfo.IsGecko ) {
      FCKDialog.OpenDialog( 'FakeDialog', '', FCKConfig.PluginsPath + 'FakeDialog/fck_fakedialog.html', 0, 0 ) ;
   }


This will open a dialog with a size of 0px x 0px.

In the pluginsfolder I made a folder called 'FakeDialog' in which i added a file called 'fck_fakedialog.html'
That file looks like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
</head>
<body onload="window.parent.Cancel();">
</body>
</html>


So, inmediatly after opening this dialolg it will be closed.
It works like a charm, but as I said: it's an extremely dirty trick !!!
So, any better solution would be welcome !!!

BTW: don't forget to run fckpackager, otherwise the change of fck_fitwindow.js will have no effect.