Ticket #6835: 6835.patch
File 6835.patch, 5.0 KB (added by , 13 years ago) |
---|
-
_source/plugins/clipboard/dialogs/paste.js
210 210 ] 211 211 }; 212 212 }); 213 214 // Resize the iframe on dialog resize (#6835). 215 CKEDITOR.dialog.on( 'resize', function( evt ) 216 { 217 var data = evt.data, 218 dialog = data.dialog; 219 if ( dialog._.name != 'paste' ) 220 return; 221 222 var iframeHolder = dialog.getContentElement( 'general', 'editing_area' ).getElement(), 223 iframe = iframeHolder.getFirst(), 224 // Get the height of the text above the iframe 225 msgHeight = dialog._.contentSize.height - iframeHolder.getParent().getSize( 'height', 1 ); 226 227 iframe && iframe.setSize( 'height', data.height - msgHeight, 1 ); 228 }, null, null, 1 ); 229 No newline at end of file -
_source/plugins/colordialog/dialogs/colordialog.js
251 251 title : lang.title, 252 252 minWidth : 360, 253 253 minHeight : 220, 254 resizable : CKEDITOR.DIALOG_RESIZE_NONE, 254 255 onLoad : function() 255 256 { 256 257 // Update reference. -
_source/plugins/find/dialogs/find.js
602 602 var lang = editor.lang.findAndReplace; 603 603 return { 604 604 title : lang.title, 605 resizable : CKEDITOR.DIALOG_RESIZE_NONE,606 605 minWidth : 350, 607 606 minHeight : 165, 608 607 buttons : [ CKEDITOR.dialog.cancelButton ], // Cancel button only. -
_source/plugins/pastetext/dialogs/pastetext.js
67 67 ] 68 68 }; 69 69 }); 70 71 // Resize the textarea on dialog resize (#6835). 72 CKEDITOR.dialog.on( 'resize', function( evt ) 73 { 74 var data = evt.data, 75 dialog = data.dialog; 76 if ( dialog._.name != 'pastetext' ) 77 return; 78 79 var content = dialog.getContentElement( 'general', 'content' ).getInputElement().getParent(), 80 msgHeight = dialog.getContentElement( 'general', 'pasteMsg' ).getElement().getSize( 'height', 1 ); 81 82 content && content.setSize( 'height', data.height - msgHeight, 1 ); 83 }); 70 84 })(); -
_source/plugins/specialchar/dialogs/specialchar.js
190 190 title : lang.title, 191 191 minWidth : 430, 192 192 minHeight : 280, 193 resizable : CKEDITOR.DIALOG_RESIZE_NONE, 193 194 buttons : [ CKEDITOR.dialog.cancelButton ], 194 195 charColumns : 17, 195 196 onLoad : function() -
_source/skins/kama/dialog.css
770 770 background-color : white; 771 771 } 772 772 773 .cke_skin_kama .cke_dialog .cke_pastetext774 {775 width: 346px;776 height: 170px;777 }778 779 773 .cke_skin_kama .cke_dialog .cke_pastetext textarea 780 774 { 781 width: 340px; 782 height: 170px; 783 resize: none; 775 width: 100%; 784 776 } 785 777 786 778 .cke_skin_kama .cke_dialog iframe.cke_pasteframe 787 779 { 788 width: 346px; 789 height: 130px; 780 width: 100%; 790 781 background-color: white; 791 782 border: 1px solid black; 792 783 } -
_source/skins/office2003/dialog.css
698 698 background-color : white; 699 699 } 700 700 701 .cke_skin_office2003 .cke_dialog .cke_pastetext702 {703 width: 346px;704 height: 170px;705 }706 707 701 .cke_skin_office2003 .cke_dialog .cke_pastetext textarea 708 702 { 709 width: 340px; 710 height: 170px; 711 resize: none; 703 width: 100%; 712 704 } 713 705 714 706 .cke_skin_office2003 .cke_dialog iframe.cke_pasteframe 715 707 { 716 width: 346px; 717 height: 130px; 708 width: 100%; 718 709 background-color: white; 719 710 border: 1px solid black; 720 711 } -
_source/skins/v2/dialog.css
700 700 background-color : white; 701 701 } 702 702 703 .cke_skin_v2 .cke_dialog .cke_pastetext704 {705 width: 346px;706 height: 170px;707 }708 709 703 .cke_skin_v2 .cke_dialog .cke_pastetext textarea 710 704 { 711 width: 340px; 712 height: 170px; 713 resize: none; 705 width: 100%; 714 706 } 715 707 716 708 .cke_skin_v2 .cke_dialog iframe.cke_pasteframe 717 709 { 718 width: 346px; 719 height: 130px; 710 width: 100%; 720 711 background-color: white; 721 712 border: 1px solid black; 722 713 }