Ticket #7749: 7749.patch

File 7749.patch, 500 bytes (added by Frederico Caldeira Knabben, 9 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    5151                if ( this.dataProcessor )
    5252                        data = this.dataProcessor.toHtml( data );
    5353
     54                if ( !data )
     55                        return;
     56
    5457                // HTML insertion only considers the first range.
    5558                var selection = this.getSelection(),
    5659                        range = selection.getRanges()[ 0 ];
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy