Hi,
when I use Firefox I have the following problem on startup: if I there is content in the editor area I am not able to paste, copy or delete anything. After I write anything with keyboard inside the editor, the operations are possible.
I am running Firefox 1.0.6 and the problem accures on my local project as well as on the official FCKEditor website.
Anybody the same problem and/or solutions?
when I use Firefox I have the following problem on startup: if I there is content in the editor area I am not able to paste, copy or delete anything. After I write anything with keyboard inside the editor, the operations are possible.
I am running Firefox 1.0.6 and the problem accures on my local project as well as on the official FCKEditor website.
Anybody the same problem and/or solutions?
RE: FF: unable to paste,copy or delete on sta
[ 1242979 ] delete/backspace firefox
RE: FF: unable to paste,copy or delete on startup
RE: FF: unable to paste,copy or delete on sta
I found a workaround for this problem. I allready posted this as comment in the bug section. But I think it is better to find this here in the forum. So again my workaround:
tested on Firefox 1.0.6
file: fck_1.js
function: FCK.StartEditor
Inserted another designMode Call forcing Firefox to use
designMode (Bugfix lines are commented):
FCK.StartEditor = function()
{
// Get the editor's window and document (DOM)
this.EditorWindow = window.frames[ 'eEditorArea' ] ;
this.EditorDocument = this.EditorWindow.document ;
// TODO: Wait stable version and remove the following
commented lines.
// The Base Path of the editor is saved to rebuild relative
URL (IE issue).
// this.BaseUrl = this.EditorDocument.location.protocol +
'//' + this.EditorDocument.location.host ;
if ( FCKBrowserInfo.IsGecko )
this.MakeEditable() ;
// Set the editor's startup contents
this.SetHTML( FCKTools.GetLinkedFieldValue() ) ;
// Attach the editor to the form onsubmit event
FCKTools.AttachToLinkedFieldFormSubmit(
this.UpdateLinkedField ) ;
FCKUndo.SaveUndoStep() ;
// START +++ startup FF Bugfix
if ( FCKBrowserInfo.IsGecko )
this.EditorWindow.document.designMode = 'on' ;
// END +++ startup FF Bugfix
this.SetStatus( FCK_STATUS_ACTIVE ) ;
}
RE: FF: unable to paste,copy or delete on sta
This workaround does not work for me. I am getting this error when I add lines in the patch:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMNSHTMLDocument.designMode]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://localhost:8080/ops/ops/fckeditor ... s/fck_1.js :: anonymous :: line 54" data: no]
Alex
RE: FF: unable to paste,copy or delete on startup
Sorry but I can't foud it.
RE: FF: unable to paste,copy or delete on sta
RE: FF: unable to paste,copy or delete on sta
RE: FF: unable to paste,copy or delete on sta
did you use the packager to "recompress" the original code? The production version of FCK does not directly use the code of the files in the /_source directory!
You can find information about how to test changes made in the "source-files" and to compress the new code here:
http://fckeditor.wikiwikiweb.de/Develop ... ompression
hope this works!