diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
commit | 1794320dcfdfcd19572fb1676294f9853a6bbc20 (patch) | |
tree | a4c9e978947d6930d50391747382d7f95a5863e3 /sources/plugins/resize | |
parent | 7183f6a6a21ad9124e70c997e0168459f377a9f2 (diff) | |
download | ludivine-ckeditor-component-master.tar.gz ludivine-ckeditor-component-master.tar.zst ludivine-ckeditor-component-master.zip |
Diffstat (limited to 'sources/plugins/resize')
-rw-r--r-- | sources/plugins/resize/plugin.js | 4 |
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' ); |