Ticket #3391: 3391.patch

File 3391.patch, 7.5 KB (added by Garry Yao, 14 years ago)
  • _source/plugins/dialogui/plugin.js

     
    132132                                                html.push( '<div class="cke_dialog_ui_labeled_label" id="',
    133133                                                                _.labelId,
    134134                                                                '" >',
    135                                                                 CKEDITOR.tools.htmlEncode( elementDefinition.label ),
     135                                                                elementDefinition.label,
    136136                                                                '</div>',
    137137                                                                '<div class="cke_dialog_ui_labeled_content">',
    138138                                                                contentHtml( dialog, elementDefinition ),
  • _source/skins/v2/dialog.css

     
    305305        width: 100%;
    306306}
    307307
     308.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_first,
     309.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_child
     310{
     311        vertical-align: middle;
     312}
     313
    308314.cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_first,
    309315.cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_child
    310316{
  • _source/plugins/table/dialogs/table.js

     
    2323                return {
    2424                        title : editor.lang.table.title,
    2525                        minWidth : 430,
    26                         minHeight : 180,
     26                        minHeight : CKEDITOR.env.ie? 260 : 245,
    2727                        onShow : function()
    2828                        {
    2929                                // Detect if there's a selected table.
     
    198198                                {
    199199                                        id : 'info',
    200200                                        label : editor.lang.table.title,
     201                                        style : CKEDITOR.env.ie? 'width: 80%;' : '',
    201202                                        accessKey : 'I',
    202203                                        elements :
    203204                                        [
     
    203204                                        [
    204205                                                {
    205206                                                        type : 'hbox',
    206                                                         widths : [ '40%', '10%', '60%' ],
     207                                                        widths : [ '50%', '50%' ],
    207208                                                        children :
    208209                                                        [
    209210                                                                {
     
    208209                                                        [
    209210                                                                {
    210211                                                                        type : 'vbox',
     212                                                                        style : 'width:105px',
    211213                                                                        padding : 0,
    212214                                                                        children :
    213215                                                                        [
     
    214216                                                                                {
    215217                                                                                        type : 'text',
    216218                                                                                        id : 'txtRows',
    217                                                                                         labelLayout : 'horizontal',
     219                                                                                        labelLayout : 'vertical',
    218220                                                                                        widths : [ '60%','40%' ],
    219                                                                                         style : 'width:105px',
     221                                                                                       
    220222                                                                                        'default' : 3,
    221223                                                                                        label : editor.lang.table.rows,
    222224                                                                                        validate : function()
     
    241243                                                                                {
    242244                                                                                        type : 'text',
    243245                                                                                        id : 'txtCols',
    244                                                                                         labelLayout : 'horizontal',
     246                                                                                        labelLayout : 'vertical',
    245247                                                                                        widths : [ '60%','40%' ],
    246                                                                                         style : 'width:105px',
    247248                                                                                        'default' : 2,
    248249                                                                                        label : editor.lang.table.columns,
    249250                                                                                        validate : function()
     
    268269                                                                                {
    269270                                                                                        type : 'select',
    270271                                                                                        id : 'selHeaders',
    271                                                                                         labelLayout : 'horizontal',
     272                                                                                        labelLayout : 'vertical',
    272273                                                                                        'default' : '',
    273274                                                                                        widths : [ '40%', '60%' ],
    274275                                                                                        label : editor.lang.table.headers,
     
    307308                                                                                {
    308309                                                                                        type : 'text',
    309310                                                                                        id : 'txtBorder',
    310                                                                                         labelLayout : 'horizontal',
     311                                                                                        labelLayout : 'vertical',
    311312                                                                                        widths : [ '60%','40%' ],
    312                                                                                         style : 'width:105px',
    313313                                                                                        'default' : 1,
    314314                                                                                        label : editor.lang.table.border,
    315315                                                                                        validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidBorder ),
     
    328328                                                                                {
    329329                                                                                        id : 'cmbAlign',
    330330                                                                                        type : 'select',
    331                                                                                         labelLayout : 'horizontal',
     331                                                                                        labelLayout : 'vertical',
    332332                                                                                        'default' : '',
    333333                                                                                        widths : [ '40%','60%' ],
    334334                                                                                        label : editor.lang.table.align,
     
    354354                                                                        ]
    355355                                                                },
    356356                                                                {
    357                                                                         type : 'html',
    358                                                                         align : 'right',
    359                                                                         html : ''
    360                                                                 },
    361                                                                 {
    362357                                                                        type : 'vbox',
    363                                                                         align : 'right',
     358                                                                        style : 'width:140px',
    364359                                                                        padding : 0,
    365360                                                                        children :
    366361                                                                        [
     
    373368                                                                                                {
    374369                                                                                                        type : 'text',
    375370                                                                                                        id : 'txtWidth',
    376                                                                                                         labelLayout : 'horizontal',
     371                                                                                                        labelLayout : 'vertical',
     372                                                                                                        style : 'width:105px',
    377373                                                                                                        widths : [ '50%','50%' ],
    378374                                                                                                        label : editor.lang.table.width,
    379375                                                                                                        'default' : 200,
     
    389385                                                                                                {
    390386                                                                                                        id : 'cmbWidthType',
    391387                                                                                                        type : 'select',
    392                                                                                                         labelLayout : 'horizontal',
     388                                                                                                        labelLayout : 'vertical',
    393389                                                                                                        widths : [ '0%','100%' ],
    394                                                                                                         label : '',
     390                                                                                                        label : '&nbsp;',
    395391                                                                                                        'default' : 'pixels',
    396392                                                                                                        items :
    397393                                                                                                        [
     
    416412                                                                                                {
    417413                                                                                                        type : 'text',
    418414                                                                                                        id : 'txtHeight',
    419                                                                                                         labelLayout : 'horizontal',
     415                                                                                                        style : 'width:105px',
     416                                                                                                        labelLayout : 'vertical',
    420417                                                                                                        widths : [ '50%','50%' ],
    421418                                                                                                        label : editor.lang.table.height,
    422419                                                                                                        'default' : '',
     
    431428                                                                                                },
    432429                                                                                                {
    433430                                                                                                        type : 'html',
    434                                                                                                         html : editor.lang.table.widthPx
     431                                                                                                        html : '<br />' + editor.lang.table.widthPx
    435432                                                                                                }
    436433                                                                                        ]
    437434                                                                                },
     
    442439                                                                                {
    443440                                                                                        type : 'text',
    444441                                                                                        id : 'txtCellSpace',
    445                                                                                         labelLayout : 'horizontal',
     442                                                                                        labelLayout : 'vertical',
    446443                                                                                        widths : [ '50%','50%' ],
    447444                                                                                        style : 'width:140px',
    448445                                                                                        label : editor.lang.table.cellSpace,
     
    463460                                                                                {
    464461                                                                                        type : 'text',
    465462                                                                                        id : 'txtCellPad',
    466                                                                                         labelLayout : 'horizontal',
     463                                                                                        labelLayout : 'vertical',
    467464                                                                                        widths : [ '50%','50%' ],
    468465                                                                                        style : 'width:140px',
    469466                                                                                        label : editor.lang.table.cellPad,
     
    500497                                                                        type : 'text',
    501498                                                                        label : editor.lang.table.caption,
    502499                                                                        widths : [ '30%','70%' ],
    503                                                                         labelLayout : 'horizontal',
     500                                                                        labelLayout : 'vertical',
    504501                                                                        'default' : '',
    505502                                                                        style : 'width:400px',
    506503                                                                        setup : function( selectedTable )
     
    545542                                                                {
    546543                                                                        id : 'txtSummary',
    547544                                                                        type : 'text',
    548                                                                         labelLayout : 'horizontal',
     545                                                                        labelLayout : 'vertical',
    549546                                                                        label : editor.lang.table.summary,
    550547                                                                        'default' : '',
    551548                                                                        widths : [ '30%','70%' ],
  • _source/plugins/dialog/plugin.js

     
    727727                                                        children : contents.elements,
    728728                                                        expand : !!contents.expand,
    729729                                                        padding : contents.padding,
    730                                                         style : 'width: 100%; height: 100%;'
     730                                                        style : contents.style || 'width: 100%; height: 100%;'
    731731                                                }, pageHtml );
    732732
    733733                        // Create the HTML for the tab and the content block.
  • _source/skins/office2003/dialog.css

     
    308308        width: 100%;
    309309}
    310310
     311.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_first,
     312.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_child
     313{
     314        vertical-align: middle;
     315}
     316
    311317.cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_first,
    312318.cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_child
    313319{
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy