Ticket #6614: 6614.patch
File 6614.patch, 2.8 KB (added by , 13 years ago) |
---|
-
_source/skins/v2/mainui.css
110 110 cursor: move; 111 111 } 112 112 113 .cke_skin_v2 .cke_r tl .cke_resizer113 .cke_skin_v2 .cke_resizer_rtl 114 114 { 115 115 cursor: sw-resize; 116 116 /* resizer_rtl.gif*/ -
_source/plugins/resize/plugin.js
9 9 { 10 10 var config = editor.config; 11 11 12 // Resize in the same direction of chrome, 13 // which is identical to dir of editor element. (#6614) 14 var resizeDir = editor.element.getDirection( 1 ); 15 12 16 !config.resize_dir && ( config.resize_dir = 'both' ); 13 17 ( config.resize_maxWidth == undefined ) && ( config.resize_maxWidth = 3000 ); 14 18 ( config.resize_maxHeight == undefined ) && ( config.resize_maxHeight = 3000 ); … … 31 35 dy = evt.data.$.screenY - origin.y, 32 36 width = startSize.width, 33 37 height = startSize.height, 34 internalWidth = width + dx * ( editor.lang.dir == 'rtl' ? -1 : 1 ),38 internalWidth = width + dx * ( resizeDir == 'rtl' ? -1 : 1 ), 35 39 internalHeight = height + dy; 36 40 37 41 if ( resizeHorizontal ) … … 88 92 if ( !resizeHorizontal && resizeVertical ) 89 93 direction = ' cke_resizer_vertical'; 90 94 91 event.data.html += '<div class="cke_resizer' + direction + '"' + 95 var resizerHtml = 96 '<div' + 97 ' class="cke_resizer' + direction + ' cke_resizer_' + resizeDir + '"' + 92 98 ' title="' + CKEDITOR.tools.htmlEncode( editor.lang.resize ) + '"' + 93 99 ' onmousedown="CKEDITOR.tools.callFunction(' + mouseDownFn + ', event)"' + 94 100 '></div>'; 101 102 // Always sticks the corner of botttom space. 103 resizeDir == 'ltr' && direction == 'ltr' ? 104 event.data.html += resizerHtml : 105 event.data.html = resizerHtml + event.data.html; 95 106 } 96 107 }, editor, null, 100 ); 97 108 } -
_source/skins/office2003/mainui.css
101 101 cursor: move; 102 102 } 103 103 104 .cke_skin_office2003 .cke_r tl .cke_resizer104 .cke_skin_office2003 .cke_resizer_rtl 105 105 { 106 106 cursor: sw-resize; 107 107 /* resizer_rtl.gif*/ -
_source/skins/kama/mainui.css
133 133 cursor: move; 134 134 } 135 135 136 .cke_skin_kama .cke_r tl .cke_resizer136 .cke_skin_kama .cke_resizer_rtl 137 137 { 138 138 cursor: sw-resize; 139 139 /* resizer_rtl.gif*/