Ticket #8550: patch_8550.patch

File patch_8550.patch, 607 bytes (added by yiminghe, 8 years ago)
  • plugin.js

     
    418418
    419419                        // If the fixed block is actually blank and is already followed by an exitable blank
    420420                        // block, we should revert the fix and move into the existed one. (#3684)
    421                         if ( isBlankParagraph( fixedBlock ) )
     421                        if ( isBlankParagraph( fixedBlock )
     422                && fixedBlock.$!==editor.document.getBody().$.lastChild
     423                )
    422424                        {
    423425                                var element = fixedBlock.getNext( isNotWhitespace );
    424426                                if ( element &&
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy