Ticket #6395: 6395.patch

File 6395.patch, 668 bytes (added by mani, 5 years ago)

Patch

  • _source/plugins/styles/plugin.js

     
    1 /*
     1/*
    22Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
     
    837837
    838838                newBlock.replace( block );
    839839
     840                // #6395 Unable to set formating on empty page
     841                if(CKEDITOR.env.opera || CKEDITOR.env.webkit)
     842                {
     843                        newBlock.setHtml(' ');
     844                }
     845
    840846                if ( newBlockIsPre )
    841847                {
    842848                        // Merge previous <pre> blocks.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy