Opened 16 years ago
Closed 12 years ago
#2806 closed Bug (wontfix)
MoveToAncestorNode failing in IE if you look for the selected item
Reported by: | Robert Neve | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | General | Version: | FCKeditor 2.6.3 |
Keywords: | Cc: |
Description
I have a plug-in that adds an image with a specially configured alt tag. When I select this tag and open by plug-in window firefox was able to read in the data. IE was not. I soon found this was because it was automatically looking at the parent node of the image. I corrected it in my code by changing the MoveToAncestorNode code to contain this
if(oRange(i).nodeName == A)
return oRange(i);
In the first for loop before it checks for a parent node. Is there any way the new version will have something in it already so IE checks to see if you have the item you're looking for as I have done? Attached is the javascript file I edited.
Attachments (3)
Change History (7)
Changed 16 years ago by
Attachment: | fckeditorcode_ie.js added |
---|
comment:1 Changed 16 years ago by
Keywords: | Pending added |
---|
comment:2 Changed 16 years ago by
It's tricky since the editor is used through drupal and some other code is required but I have attached one of the plug-in files anyway although. It should run ok I think except for the directory tree.
Changed 16 years ago by
Attachment: | BlockInsert.php added |
---|
Changed 16 years ago by
Attachment: | PageInsert.php added |
---|
comment:3 Changed 16 years ago by
Milestone: | FCKeditor 2.6.4 |
---|
comment:4 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | pending → closed |
FCKeditor is no longer supported.
How to reproduce this bug? Could you attach your plugin or provide more information?