#2806: MoveToAncestorNode failing in IE if you look for the selected item
-------------------------+--------------------------------------------------
Reporter: daemon_byte | Owner:
Type: Bug | Status: new
Priority: Low | Milestone: FCKeditor 2.6.4
Component: General | Version: FCKeditor 2.6.3
Keywords: |
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2806>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac