Changeset 1404

Show
Ignore:
Timestamp:
2008-01-24 17:20:30 (5 months ago)
Author:
fredck
Message:

Fixed #309 : The ENTER key will not any more break <button> elements at the beginning of paragraphs.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

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

    r1211 r1404  
    152152                var child ; 
    153153 
    154                 while ( ( child = targetElement.firstChild ) && child.nodeType == 1 && FCKListsLib.EmptyElements[ child.nodeName.toLowerCase() ] == null ) 
     154                while ( ( child = targetElement.firstChild ) && child.nodeType == 1 && FCKListsLib.InlineNonEmptyElements[ child.nodeName.toLowerCase() ] ) 
    155155                        targetElement = child ; 
    156156 
  • FCKeditor/trunk/_whatsnew.html

    r1388 r1404  
    5858                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned 
    5959                        &lt;li&gt; elements now get properly enclosed in a &lt;ul&gt; on output.</li> 
     60                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The  
     61                        ENTER key will not any more break &lt;button&gt; elements at the beginning of  
     62                        paragraphs.</li> 
    6063        </ul> 
    6164        <p>