Ticket #3878: 3878_2.patch
File 3878_2.patch, 13.4 KB (added by , 15 years ago) |
---|
-
_source/plugins/forms/dialogs/select.js
131 131 132 132 return { 133 133 title : editor.lang.select.title, 134 minWidth : CKEDITOR.env.ie ? 460 :395,135 minHeight : CKEDITOR.env.ie ? 3 20 : 300,134 minWidth : 395, 135 minHeight : CKEDITOR.env.ie ? 310 : 310, 136 136 onShow : function() 137 137 { 138 138 delete this.selectBox; … … 390 390 }, 391 391 { 392 392 type : 'vbox', 393 padding : 5,393 padding : CKEDITOR.env.webkit ? 0 : 4, 394 394 children : 395 395 [ 396 396 { … … 476 476 }, 477 477 { 478 478 type : 'hbox', 479 widths : [ '40%', '20%', '40%' ],480 479 children : 481 480 [ 482 481 { … … 511 510 optName.setValue( "" ); 512 511 optValue.setValue( "" ); 513 512 } 514 },515 {516 id : 'chkMulti',517 type : 'checkbox',518 label : editor.lang.select.chkMulti,519 'default' : '',520 accessKey : 'M',521 value : "checked",522 setup : function( name, element )523 {524 if ( name == 'select' )525 this.setValue( element.getAttribute( 'multiple' ) );526 },527 commit : function( element )528 {529 if ( this.getValue() )530 element.setAttribute( 'multiple', this.getValue() );531 else532 element.removeAttribute( 'multiple' );533 }534 513 } 535 514 ] 515 }, 516 { 517 id : 'chkMulti', 518 type : 'checkbox', 519 label : editor.lang.select.chkMulti, 520 'default' : '', 521 accessKey : 'M', 522 value : "checked", 523 setup : function( name, element ) 524 { 525 if ( name == 'select' ) 526 this.setValue( element.getAttribute( 'multiple' ) ); 527 }, 528 commit : function( element ) 529 { 530 if ( this.getValue() ) 531 element.setAttribute( 'multiple', this.getValue() ); 532 else 533 element.removeAttribute( 'multiple' ); 534 } 536 535 } 537 536 ] 538 537 } -
_source/plugins/forms/dialogs/textarea.js
71 71 label : editor.lang.textarea.cols, 72 72 'default' : '', 73 73 accessKey : 'C', 74 style : 'width:50px',74 width: '50px', 75 75 validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ), 76 76 setup : function( element ) 77 77 { … … 92 92 label : editor.lang.textarea.rows, 93 93 'default' : '', 94 94 accessKey : 'R', 95 style : 'width:50px',95 width: '50px', 96 96 validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ), 97 97 setup : function( element ) 98 98 { -
_source/plugins/forms/dialogs/textfield.js
135 135 label : editor.lang.textfield.charWidth, 136 136 'default' : '', 137 137 accessKey : 'C', 138 style : 'width:50px',138 width: '50px', 139 139 validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ) 140 140 }, 141 141 { … … 144 144 label : editor.lang.textfield.maxChars, 145 145 'default' : '', 146 146 accessKey : 'M', 147 style : 'width:50px',147 width: '50px', 148 148 validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ) 149 149 } 150 150 ] -
_source/plugins/image/dialogs/image.js
188 188 return { 189 189 title : ( dialogType == 'image' ) ? editor.lang.image.title : editor.lang.image.titleButton, 190 190 minWidth : 420, 191 minHeight : 3 10,191 minHeight : 320, 192 192 onShow : function() 193 193 { 194 194 this.imageElement = false; … … 710 710 type : 'text', 711 711 id : 'txtHSpace', 712 712 width: '60px', 713 labelLayout : 'horizontal',713 labelLayout : ( editor.lang.image.hSpace.length > 15 ? 'vertical' : 'horizontal' ), 714 714 label : editor.lang.image.hSpace, 715 715 'default' : '', 716 716 onKeyUp : function() … … 758 758 type : 'text', 759 759 id : 'txtVSpace', 760 760 width : '60px', 761 labelLayout : 'horizontal',761 labelLayout : ( editor.lang.image.vSpace.length > 15 ? 'vertical' : 'horizontal' ), 762 762 label : editor.lang.image.vSpace, 763 763 'default' : '', 764 764 onKeyUp : function() … … 801 801 { 802 802 id : 'cmbAlign', 803 803 type : 'select', 804 labelLayout : 'horizontal',804 labelLayout : ( editor.lang.image.align.length > 10 ? 'vertical' : 'horizontal' ), 805 805 widths : [ '35%','65%' ], 806 806 style : 'width:90px', 807 807 label : editor.lang.image.align, -
_source/plugins/link/dialogs/link.js
247 247 return { 248 248 title : editor.lang.link.title, 249 249 minWidth : 350, 250 minHeight : 2 30,250 minHeight : 240, 251 251 contents : [ 252 252 { 253 253 id : 'info', … … 616 616 id : 'linkTargetType', 617 617 label : editor.lang.link.target, 618 618 'default' : 'notSet', 619 style : 'width : 100%;',619 style : 'width:150px;', 620 620 'items' : 621 621 [ 622 622 [ editor.lang.link.targetNotSet, 'notSet' ], … … 768 768 type : 'text', 769 769 widths : [ '30%', '70%' ], 770 770 labelLayout : 'horizontal', 771 width: '50px', 771 772 label : editor.lang.link.popupWidth, 772 773 id : 'width', 773 774 setup : setupPopupParams, … … 778 779 type : 'text', 779 780 labelLayout : 'horizontal', 780 781 widths : [ '55%', '45%' ], 782 width: '50px', 781 783 label : editor.lang.link.popupLeft, 782 784 id : 'left', 783 785 setup : setupPopupParams, … … 794 796 type : 'text', 795 797 labelLayout : 'horizontal', 796 798 widths : [ '30%', '70%' ], 799 width: '50px', 797 800 label : editor.lang.link.popupHeight, 798 801 id : 'height', 799 802 setup : setupPopupParams, … … 805 808 labelLayout : 'horizontal', 806 809 label : editor.lang.link.popupTop, 807 810 widths : [ '55%', '45%' ], 811 width: '50px', 808 812 id : 'top', 809 813 setup : setupPopupParams, 810 814 commit : commitPopupParams … … 849 853 { 850 854 type : 'vbox', 851 855 padding : 1, 856 style : 'width:330px', 852 857 children : 853 858 [ 854 859 { 855 860 type : 'hbox', 856 widths : [ '45%', '35%', '20%'],861 widths : [ null, null, null ], 857 862 children : 858 863 [ 859 864 { … … 868 873 id : 'advLangDir', 869 874 label : editor.lang.link.langDir, 870 875 'default' : '', 871 style : 'width:1 10px',876 style : 'width:100px', 872 877 items : 873 878 [ 874 879 [ editor.lang.link.langDirNotSet, '' ], … … 930 935 { 931 936 type : 'vbox', 932 937 padding : 1, 938 style : 'width:330px', 933 939 children : 934 940 [ 935 941 { -
_source/plugins/pastefromword/dialogs/pastefromword.js
156 156 157 157 iframe.setStyles( 158 158 { 159 width : '34 6px',159 width : '340px', 160 160 height : '152px', 161 161 'background-color' : 'white', 162 162 border : '1px solid black' -
_source/plugins/pastetext/dialogs/pastetext.js
46 46 style : 'width:340px;height:170px', 47 47 html : 48 48 '<textarea style="' + 49 'width:34 6px;' +49 'width:340px;' + 50 50 'height:170px;' + 51 51 'resize: none;' + 52 52 'border:1px solid black;' + -
_source/plugins/table/dialogs/table.js
216 216 id : 'txtRows', 217 217 'default' : 3, 218 218 label : editor.lang.table.rows, 219 style : 'width:5em',220 219 validate : function() 221 220 { 222 221 var pass = true, … … 241 240 id : 'txtCols', 242 241 'default' : 2, 243 242 label : editor.lang.table.columns, 244 style : 'width:5em',245 243 validate : function() 246 244 { 247 245 var pass = true, … … 269 267 type : 'select', 270 268 id : 'selHeaders', 271 269 'default' : '', 270 style : 'width:8em', 272 271 label : editor.lang.table.headers, 273 272 items : 274 273 [ … … 307 306 id : 'txtBorder', 308 307 'default' : 1, 309 308 label : editor.lang.table.border, 310 style : 'width: 3em',309 style : 'width:8em', 311 310 validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidBorder ), 312 311 setup : function( selectedTable ) 313 312 { … … 325 324 id : 'cmbAlign', 326 325 type : 'select', 327 326 'default' : '', 327 style : 'width:8em', 328 328 label : editor.lang.table.align, 329 329 items : 330 330 [ … … 354 354 [ 355 355 { 356 356 type : 'hbox', 357 widths : [ '5em' ],358 357 children : 359 358 [ 360 359 { 361 360 type : 'text', 362 361 id : 'txtWidth', 363 style : 'width: 5em',362 style : 'width:6em', 364 363 label : editor.lang.table.width, 365 364 'default' : 200, 366 365 validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidWidth ), … … 394 393 }, 395 394 { 396 395 type : 'hbox', 397 widths : [ '5em' ],398 396 children : 399 397 [ 400 398 { … … 425 423 { 426 424 type : 'text', 427 425 id : 'txtCellSpace', 428 style : 'width:3em',429 426 label : editor.lang.table.cellSpace, 430 427 'default' : 1, 431 428 validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidCellSpacing ), … … 444 441 { 445 442 type : 'text', 446 443 id : 'txtCellPad', 447 style : 'width:3em',448 444 label : editor.lang.table.cellPad, 449 445 'default' : 1, 450 446 validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidCellPadding ), -
_source/skins/kama/dialog.css
174 174 margin-top: 10px; 175 175 } 176 176 177 .cke_skin_kama .cke_dialog_ui_labeled_label 178 { 179 white-space: normal; 180 } 181 177 182 .cke_skin_kama .cke_dialog_ui_vbox table, 178 183 .cke_skin_kama .cke_dialog_ui_hbox table 179 184 { -
_source/skins/office2003/dialog.css
268 268 padding-bottom: 3px; 269 269 } 270 270 271 .cke_skin_office2003 .cke_dialog_ui_labeled_label 272 { 273 white-space: normal; 274 } 275 271 276 .cke_skin_office2003 .cke_dialog_ui_vbox table, 272 277 .cke_skin_office2003 .cke_dialog_ui_hbox table 273 278 { -
_source/skins/v2/dialog.css
265 265 padding-bottom: 3px; 266 266 } 267 267 268 .cke_skin_v2 .cke_dialog_ui_labeled_label 269 { 270 white-space: normal; 271 } 272 268 273 .cke_skin_v2 .cke_dialog_ui_vbox table, 269 274 .cke_skin_v2 .cke_dialog_ui_hbox table 270 275 { -
CHANGES.html
44 44 <p> 45 45 Fixed issues:</p> 46 46 <ul> 47 <li><a href="http://dev.fckeditor.net/ticket/3878">#3878</a> : Fixed dialog layout in Internet Explorer and Webkit.</li> 47 48 <li><a href="http://dev.fckeditor.net/ticket/3882">#3882</a> : Fixed an issue 48 49 with PasteFromWord dialog in which default values was ignored</li> 49 50 <li><a href="http://dev.fckeditor.net/ticket/3859">#3859</a> : Fixed Flash dialog layout in Webkit</li>