Ticket #6833: 6833.patch

File 6833.patch, 716 bytes (added by Garry Yao, 10 years ago)
  • _source/plugins/htmldataprocessor/plugin.js

     
    4040
    4141        function blockNeedsExtension( block, fromSource, extendEmptyBlock )
    4242        {
    43                 if( !extendEmptyBlock ||
    44                         typeof extendEmptyBlock == 'function' && ( extendEmptyBlock( block ) === false ) )
     43                if( !fromSource && ( !extendEmptyBlock ||
     44                        typeof extendEmptyBlock == 'function' && ( extendEmptyBlock( block ) === false ) ) )
    4545                        return false;
    4646
    4747        // 1. For IE version >=8,  empty blocks are displayed correctly themself in wysiwiyg;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy