Changeset 1663

Show
Ignore:
Timestamp:
2008-02-29 11:13:57 (8 months ago)
Author:
martinkou
Message:

Fixed #957 : Pressing Enter or typing after a placeholder with the placeholder plugin will no longer generate colored text.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fck_gecko.js

    r1617 r1663  
    105105                        // only perform the patched behavior if we're in an <a> tag, or the End key is pressed. 
    106106                        var parentTag = node.parentNode.tagName.toLowerCase() ; 
    107                         if ( ! (  parentTag == 'a' || 
     107                        if ( ! (  parentTag == 'a' || String(node.parentNode.contentEditable) == 'false' || 
    108108                                        ( ! ( FCKListsLib.BlockElements[parentTag] || FCKListsLib.NonEmptyBlockElements[parentTag] ) 
    109109                                          && keyCode == 35 ) ) ) 
  • FCKeditor/trunk/_whatsnew.html

    r1662 r1663  
    4747                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder 
    4848                        dialog will now display the placeholder value correctly in IE.</li> 
     49                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing Enter  
     50                        or typing after a placeholder with the placeholder plugin will no longer generate  
     51                        colored text.</li> 
    4952        </ul> 
    5053        <h3> 
     
    149152                        of depreciated "var").</li> 
    150153                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration: 
    151                         removed closing tag: "?>", so no additional whitespace added when files are included.</li> 
     154                        removed closing tag: "?&gt;", so no additional whitespace added when files are included.</li> 
    152155                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file 
    153156                        browser: fixed problems with DetectHtml() function when open_basedir was set.</li>