Ticket #2254 (closed Bug: fixed)
Malfunction in FCKSelection object
| Reported by: | jenka1980 | Owned by: | martinkou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6.2 |
| Component: | General | Version: | FCKeditor 2.5 |
| Keywords: | Confirmed Review+ | Cc: |
Description
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.