#2254: Malfunction in FCK.Selecte object
---------------------------+------------------------------------------------
 Reporter:  jenka1980      |        Type:  Bug                                  
                           
   Status:  new            |    Priority:  Normal                               
                           
Milestone:                 |   Component:  General                              
                           
  Version:  FCKeditor 2.5  |    Keywords:  FCKSelecte upper case tagName 
HasAncestorNode MoveToAncestorNode
---------------------------+------------------------------------------------
 FCKSelection have 2 methods called: HasAncestorNode and
 MoveToAncestorNode.
 Both of theme have input parameter called nodeTagName of type string and
 as written in comments of this function
 the passed string should be written in upper case.

 But in the code when check is done actual tag name never converted to
 upper case.
 {{{
 if ( oContainer.tagName == nodeTagName ) return true ;
 }}}

 So if your edited HTML has tags written in lower case (like custom tags)
 this functions won't find the ancestor tag.

 Hope you'll fix this small thing in next revision.

 tank's

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2254>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to