Changeset 1116

Show
Ignore:
Timestamp:
2007-11-24 17:12:38 (2 years ago)
Author:
fredck
Message:

Fixed #1561 : Non standard elements are now properly applied if defined in the styles XML file.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/classes/fckstyle.js

    r1010 r1116  
    865865                        { 
    866866                                // Check if the style element can be a child of the current 
    867                                 // node parent. 
    868                                 if ( ( FCK.DTD[ currentNode.parentNode.nodeName.toLowerCase() ] || FCK.DTD.span )[ elementName ] ) 
     867                                // node parent or if the element is not defined in the DTD. 
     868                                if ( ( FCK.DTD[ currentNode.parentNode.nodeName.toLowerCase() ] || FCK.DTD.span )[ elementName ] || !FCK.DTD[ elementName ] ) 
    869869                                { 
    870870                                        // This node will be part of our range, so if it has not 
  • FCKeditor/trunk/_whatsnew.html

    r1115 r1116  
    115115                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor 
    116116                        was always "dirty" if flash is available in the contents.</li> 
     117                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1561">#1561</a>] Non standard 
     118                        elements are now properly applied if defined in the styles XML file.</li> 
    117119                <li>Several compatibility fixes for Firefox 3 (Beta 1): 
    118120                        <ul>