aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/resize/plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'sources/plugins/resize/plugin.js')
-rw-r--r--sources/plugins/resize/plugin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/plugins/resize/plugin.js b/sources/plugins/resize/plugin.js
index 095ee12..123dd2d 100644
--- a/sources/plugins/resize/plugin.js
+++ b/sources/plugins/resize/plugin.js
@@ -19,7 +19,7 @@ CKEDITOR.plugins.add( 'resize', {
19 if ( resizeVertical ) 19 if ( resizeVertical )
20 height = Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) ); 20 height = Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) );
21 21
22 // DO NOT impose fixed size with single direction resize. (#6308) 22 // DO NOT impose fixed size with single direction resize. (http://dev.ckeditor.com/ticket/6308)
23 editor.resize( resizeHorizontal ? width : null, height ); 23 editor.resize( resizeHorizontal ? width : null, height );
24 } 24 }
25 25
@@ -37,7 +37,7 @@ CKEDITOR.plugins.add( 'resize', {
37 var spaceId = editor.ui.spaceId( 'resizer' ); 37 var spaceId = editor.ui.spaceId( 'resizer' );
38 38
39 // Resize in the same direction of chrome, 39 // Resize in the same direction of chrome,
40 // which is identical to dir of editor element. (#6614) 40 // which is identical to dir of editor element. (http://dev.ckeditor.com/ticket/6614)
41 var resizeDir = editor.element ? editor.element.getDirection( 1 ) : 'ltr'; 41 var resizeDir = editor.element ? editor.element.getDirection( 1 ) : 'ltr';
42 42
43 !config.resize_dir && ( config.resize_dir = 'vertical' ); 43 !config.resize_dir && ( config.resize_dir = 'vertical' );