Ticket #6661: 6661.patch

File 6661.patch, 490 bytes (added by Garry Yao, 9 years ago)
  • _source/plugins/styles/plugin.js

     
    982982                        var temp = block.getDocument().createElement( 'div' );
    983983                        temp.append( newBlock );
    984984                        newBlock.$.outerHTML =  '<pre>' + preHtml + '</pre>';
     985                        newBlock.copyAttributes( temp.getFirst() );
    985986                        newBlock = temp.getFirst().remove();
    986987                }
    987988                else
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy