Changeset 6882


Ignore:
Timestamp:
05/09/11 05:45:11 (3 years ago)
Author:
garry.yao
Message:

#7818 and #7820: padding body breaks IE6/7, regression of [6698].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js

    r6816 r6882  
    447447                        var paddingBlock; 
    448448                        if ( enterMode != CKEDITOR.ENTER_BR ) 
    449                                 paddingBlock = body.append( new CKEDITOR.dom.element( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ); 
     449                                paddingBlock = body.append( editor.document.createElement( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ); 
    450450                        else 
    451451                                paddingBlock = body; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy