Hello FCK-Freaks,
I just downloaded the BETA version of the new google browser called: 'Google Chrome'.
When i watched at my FCK in this browser i didnt see the toolbar and the textarea was filled
with 'html-code'. So FCK ain't compatible with this browser yet, maybe the'll change it cause
it's a BETA.
But i guess no one has a solution for this yet?
Greets Lukie
Wed, 09/03/2008 - 09:46
#1
Re: FCK in Google Chrome
earlier version didn't work
Re: FCK in Google Chrome
Hello,
If you execute FCKEditor on the latest trunk (seem appear in the 2.6.3), I have an error if FCKConfig.StartupShowBlocks is set to true.
Uncaught TypeError: Cannot read property 'nodeType' of null http://127.0.0.1/www.lib/fckeditor/edit ... wblocks.js (line 59)
[...]
if ( FCKBrowserInfo.IsIE )
{
try
{
FCK.EditorDocument.selection.createRange().select() ;
}
catch ( e )
{}
}
else
{
var focus = FCK.EditorWindow.getSelection().focusNode ;
if ( focus.nodeType != 1 )
Uncaught TypeError: Cannot read property 'nodeType' of null
focus = focus.parentNode ;
FCKDomTools.ScrollIntoView( focus, false ) ;
}
[...]
To fix the problem I have just added "try catch" in the "else" branch.
regards
Frederic
Re: FCK in Google Chrome and Safari too
The problem disappears if you press the "Source" button prior to clicking on the FCKeditor's "Submit" button; that seems to refresh the actual fckeditor content to include what you have just typed in.
I tried Frederic's solution of adding a try/catch to fckshowblocks.js, but without any success. Maybe I placed it in the wrong area. Thoughts? Help!
Below is my addition of try/catch, which did not solve the problem...
if ( FCKBrowserInfo.IsIE )
{
try
{
FCK.EditorDocument.selection.createRange().select() ;
}
catch ( e )
{}
}
else
{
try
{
var focus = FCK.EditorWindow.getSelection().focusNode ;
if ( focus.nodeType != 1 )
focus = focus.parentNode ;
FCKDomTools.ScrollIntoView( focus, false ) ;
}
catch ( e )
{}
}
FCK.Events.FireEvent( 'OnSelectionChange' ) ;
Thanks,
DKC
Re: FCK in Google Chrome
I noticed some strange behavior of FCKeditor (2.6.3) with Chrome.
If there are selection when I click B (bold) button, the selected text changes to bold in both browser (FF3 and Chrome).
But if I write in the editor, and I click bold, and I continue writing, the text style changes to bold in FireFox 3 but it remains normal in Chrome.
It is applies to all formatting functions (font type, color, text styles, etc.)
regards,
zsolt
FCK 2.5.X and Google Chrome (do not want 2.6.X)
We are currently upgrading to 2.5.X to avoid the new 2.6.X, really-hard-to-customize style sheets that are replacing all popups. We want 2.5.X mostly because of Safari Support. Now that Chrome is out there, we need FCK to work for that too.
Does chrome work with VERSION 2.5.X
Bump: FCK Hotkeys in Google Chrome - status?
Wondering if there is a target date on the hotkey issue mentioned above? I have a few apps that rely heavily on FCKeditor, and want to move the users to Chrome, but can't until this usability issue is resolved. Not whining or bullying, as I know of course you will deliver this. If there is some sense of timing, it would help me determine how to proceed.
Thanks in advance!
Re: FCK in Google Chrome
Are you talking about the formating problem?
that's https://bugs.webkit.org/show_bug.cgi?id=15256 it seems that you'll have to wait a little longer unless you are able to propose some workaround.
Re: FCK in Google Chrome
Re: Bump: FCK Hotkeys in Google Chrome - status?
CKEditor 3.0 in the works, I can guess (and prefer) that the new version hit the stands, instead of a 2.54 fork to fix small hotkey bugs in Chrome...
Re: FCK in Google Chrome
Hi,
we have successfully added the custom button and it will works fine. But the custom button is disabled in chrome . we using fckeditor2.6.5. we follow the procedure that you mentioned in the url "http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Customization/Plug-ins". what is the issue please advice me.....