Opened 18 years ago
Closed 17 years ago
#1022 closed Bug (wontfix)
FitWindow and editable area problem
Reported by: | Lucian | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.4 |
Keywords: | Cc: |
Description
I do lock for editing the FCKeditor on my jsp page using this piece of code: if (document.all){
editorInstance.EditorDocument.body.contentEditable = false;
} else{
editorInstance.EditorDocument.designMode = "off";
}
I attach this code to the OnComplete event. It works. I use the FitWindow button to resize the editor (full screen editor). I resize again the editor to the initial size and now I can edit the content.
Problem: The editor does not remember it's initial configuration (it should still be readonly after the FitWindow operation)
I am testing using IE, so this problem appears at least for IE, the browser I need to work with.
Change History (3)
comment:1 Changed 18 years ago by
Milestone: | FCKeditor 2.5 |
---|
comment:2 Changed 17 years ago by
comment:3 Changed 17 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
These kinds of customizations are incompatible with the editor as is. If you are looking to include coding hacks, you will have to make the necessary changes to all points in the code that may be related to it, including the FitWindow code.
The FitWindow plugin automatically calls the MakeEditable method because there's a bug causing the editing area to become non-editable (at least for Firefox).
If you don't want to allow the user to use the editor, the best solution is to don't use it. Show just a div with the content and only load the editor when necessary.
I would say that this is "can't fix", unless some locking method is added to the editor, then it will have to take care about the problem.