Opened 16 years ago
Closed 13 years ago
#2893 closed Bug (invalid)
FCK table handler bug
Reported by: | Jesse Redl | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6.4 |
Keywords: | HasPatch | Cc: |
Description
Bug description:
If the following conditions are met:
- there is another text field on the page besides the editor,
- the other field gains focus before the editor is done loading, and
- the editor button set includes 'TableMergeCells' and/or 'TableHorizontalSplitCell',
then there will be a javascript error inside FCKTableHandler.GetSelectedCells
Fix:
After the line:
var oParent = FCKSelection.GetParentElement() ;
We tested whether or not the selection is inside FCKeditor:
if(FCKTools.GetElementDocument(oParent) != FCK.EditorDocument)
return aCells ;
(returning an empty array if the selection/cursor is outside FCKeditor)
This bug was similar to https://dev.fckeditor.net/changeset/827
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | fcktablehandler_bug.patch added |
---|
comment:1 Changed 16 years ago by
Keywords: | HasPatch added |
---|
comment:2 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible since this issue is no longer a problem in current code base.
patch attached