Ticket #3835: 3835_2.patch

File 3835_2.patch, 1.7 KB (added by Garry Yao, 15 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    189189                // Inserting the padding-br before body if it's preceded by an
    190190                // unexitable block.
    191191                var lastNode = body.getLast( true );
    192                 if ( lastNode.getName && ( lastNode.getName() in nonExitableElementNames ) )
     192                if ( lastNode && lastNode.getName && ( lastNode.getName() in nonExitableElementNames ) )
    193193                {
    194194                        var paddingBlock = editor.document.createElement(
    195195                                        ( CKEDITOR.env.ie && enterMode != CKEDITOR.ENTER_BR ) ?
  • _source/core/dom/window.js

     
    3535                 */
    3636                focus : function()
    3737                {
     38                        // Webkit is sometimes failed to focus iframe, blur it first(#3835).
     39                        if( CKEDITOR.env.webkit && this.$.parent )
     40                                this.$.parent.focus();
    3841                        this.$.focus();
    3942                },
    4043
  • CHANGES.html

     
    5555                <li><a href="http://dev.fckeditor.net/ticket/3820">#3820</a> : Fixed an issue in
    5656                        bullet list command in which a list created at the bottom of another gets merged to the top.
    5757                        </li>
     58                <li><a href="http://dev.fckeditor.net/ticket/3835">#3835</a> : Element path is not refreshed
     59                        after click on 'newpage'; and safari is not putting focus on document also.
     60                        </li>
    5861        </ul>
    5962        <h3>
    6063                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy