Ticket #3878: 3878_4.patch

File 3878_4.patch, 2.6 KB (added by Frederico Caldeira Knabben, 15 years ago)
  • _source/plugins/pastefromword/dialogs/pastefromword.js

     
    236236                                [
    237237                                        {
    238238                                                type : 'html',
    239                                                 style : 'white-space: normal;',
     239                                                style : 'white-space:normal;width:346px;display:block',
    240240                                                onShow : function()
    241241                                                {
    242242                                                        /*
  • _source/skins/kama/skin.js

     
    223223                                width = data.width,
    224224                                height = data.height,
    225225                                dialog = data.dialog,
     226                                contents = dialog.parts.contents,
    226227                                standardsMode = !CKEDITOR.env.quirks;
    227228
    228229                        if ( data.skin != 'kama' )
    229230                                return;
    230231
    231                         dialog.parts.contents.setStyles(
    232                                 {
    233                                         width : width + 'px',
    234                                         height : height + 'px'
    235                                 });
     232                        contents.setStyles(
     233                                CKEDITOR.env.ie ?
     234                                        {
     235                                                width : width + 'px',
     236                                                height : height + 'px'
     237                                        }
     238                                :
     239                                        {
     240                                                // To avoid having scrollbars in the dialogs, we're
     241                                                // (for now) using the "min-xxx" properties, for
     242                                                // browsers which well support it (#3878).
     243                                                'min-width' : width + 'px',
     244                                                'min-height' : height + 'px'
     245                                        });
    236246
    237247                        if ( !CKEDITOR.env.ie )
    238248                                return;
     
    240250                        // Fix the size of the elements which have flexible lengths.
    241251                        setTimeout( function()
    242252                                {
    243                                         var content = dialog.parts.contents,
    244                                                 body = content.getParent(),
     253                                        var body = contents.getParent(),
    245254                                                innerDialog = body.getParent();
    246255
    247256                                        // tc
  • CHANGES.html

     
    130130                <li><a href="http://dev.fckeditor.net/ticket/3742">#3742</a> : Fixed wrong dialog layout for dialogs without tab bar in IE RTL mode .</li>
    131131                <li><a href="http://dev.fckeditor.net/ticket/3671">#3671</a> : Fixed body fixing should be applied to the real type under fake elements.</li>
    132132                <li><a href="http://dev.fckeditor.net/ticket/3836">#3836</a> : Fixed remove list in enterMode=BR will merge sibling text to one line.</li>
     133                <li><a href="http://dev.fckeditor.net/ticket/3878">#3878</a> : Whenever possible,
     134                        dialogs will not present scroolbars if the content is too big for its standard
     135                        size.</li>
    133136        </ul>
    134137        <h3>
    135138                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy