Ticket #3848: 3848.patch

File 3848.patch, 5.1 KB (added by Artur Formella, 15 years ago)
  • _source/plugins/dialogui/plugin.js

     
    233233                                {
    234234                                        // IE BUG: Text input fields in IE at 100% would exceed a <td> or inline
    235235                                        // container's width, so need to wrap it inside a <div>.
    236                                         var html = [ '<div class="cke_dialog_ui_input_', elementDefinition.type, '"><input ' ];
     236                                        var html = [ '<div class="cke_dialog_ui_input_', elementDefinition.type, '"' ];
     237
     238                                        if ( elementDefinition.width )
     239                                                html.push( 'style="width:'+ elementDefinition.width +'" ' );
     240
     241                                        html.push( '><input ' );
    237242                                        for ( var i in attributes )
    238243                                                html.push( i + '="' + attributes[i] + '" ' );
    239244                                        html.push( ' /></div>' );
  • _source/plugins/image/dialogs/image.js

     
    506506                                                                                                        [
    507507                                                                                                                {
    508508                                                                                                                        type : 'text',
     509                                                                                                                        width: '40px',
    509510                                                                                                                        id : 'txtWidth',
    510511                                                                                                                        labelLayout : 'horizontal',
    511512                                                                                                                        label : editor.lang.image.width,
     
    552553                                                                                                                {
    553554                                                                                                                        type : 'text',
    554555                                                                                                                        id : 'txtHeight',
     556                                                                                                                        width: '40px',
    555557                                                                                                                        labelLayout : 'horizontal',
    556558                                                                                                                        label : editor.lang.image.height,
    557559                                                                                                                        onKeyUp : onSizeChange,
     
    598600                                                                                                },
    599601                                                                                                {
    600602                                                                                                        type : 'html',
    601                                                                                                         style : 'position:relative;top:10px;height:50px;',
     603                                                                                                        style : 'position:relative;top:10px;width:40px;height:50px;',
    602604                                                                                                        onLoad : function()
    603605                                                                                                        {
    604606                                                                                                                // Activate Reset button
     
    665667                                                                                                {
    666668                                                                                                        type : 'text',
    667669                                                                                                        id : 'txtBorder',
     670                                                                                                        width: '60px',
    668671                                                                                                        labelLayout : 'horizontal',
    669672                                                                                                        label : editor.lang.image.border,
    670673                                                                                                        'default' : '',
     
    706709                                                                                                {
    707710                                                                                                        type : 'text',
    708711                                                                                                        id : 'txtHSpace',
     712                                                                                                        width: '60px',
    709713                                                                                                        labelLayout : 'horizontal',
    710714                                                                                                        label : editor.lang.image.hSpace,
    711715                                                                                                        'default' : '',
     
    753757                                                                                                {
    754758                                                                                                        type : 'text',
    755759                                                                                                        id : 'txtVSpace',
     760                                                                                                        width : '60px',
    756761                                                                                                        labelLayout : 'horizontal',
    757762                                                                                                        label : editor.lang.image.vSpace,
    758763                                                                                                        'default' : '',
     
    798803                                                                                                        type : 'select',
    799804                                                                                                        labelLayout : 'horizontal',
    800805                                                                                                        widths : [ '35%','65%' ],
    801                                                                                                         style : 'width:100%',
     806                                                                                                        style : 'width:90px',
    802807                                                                                                        label : editor.lang.image.align,
    803808                                                                                                        'default' : '',
    804809                                                                                                        items :
     
    10091014                                                                {
    10101015                                                                        id : 'cmbLangDir',
    10111016                                                                        type : 'select',
    1012                                                                         style : 'width : 100%;',
     1017                                                                        style : 'width : 100px;',
    10131018                                                                        label : editor.lang.common.langDir,
    10141019                                                                        'default' : '',
    10151020                                                                        items :
  • _source/plugins/link/dialogs/link.js

     
    867867                                                                                id : 'advLangDir',
    868868                                                                                label : editor.lang.link.langDir,
    869869                                                                                'default' : '',
    870                                                                                 style : 'width: 100%;',
     870                                                                                style : 'width:110px',
    871871                                                                                items :
    872872                                                                                [
    873873                                                                                        [ editor.lang.link.langDirNotSet, '' ],
     
    880880                                                                        {
    881881                                                                                type : 'text',
    882882                                                                                id : 'advAccessKey',
     883                                                                                width : '80px',
    883884                                                                                label : editor.lang.link.acccessKey,
    884885                                                                                maxLength : 1,
    885886                                                                                setup : setupAdvParams,
     
    905906                                                                                type : 'text',
    906907                                                                                label : editor.lang.link.langCode,
    907908                                                                                id : 'advLangCode',
     909                                                                                width : '110px',
    908910                                                                                'default' : '',
    909911                                                                                setup : setupAdvParams,
    910912                                                                                commit : commitAdvParams
     
    914916                                                                                type : 'text',
    915917                                                                                label : editor.lang.link.tabIndex,
    916918                                                                                id : 'advTabIndex',
     919                                                                                width : '80px',
    917920                                                                                maxLength : 5,
    918921                                                                                setup : setupAdvParams,
    919922                                                                                commit : commitAdvParams
  • CHANGES.html

     
    4444        <p>
    4545                Fixed issues:</p>
    4646        <ul>
     47                <li><a href="http://dev.fckeditor.net/ticket/3808">#3848</a> : Fixed an issue with Webkit in witch
     48                        elements in the Image and Link dialogs had wrong dimensions.</li>
    4749                <li><a href="http://dev.fckeditor.net/ticket/3808">#3808</a> : Fixed UI Color Picker dialog size in example page.</li>
    4850                <li><a href="http://dev.fckeditor.net/ticket/3658">#3658</a> : Editor had horizontal scrollbar in IE6.</li>             
    4951                <li><a href="http://dev.fckeditor.net/ticket/3819">#3819</a> : The cursor was not visible
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy