Sha256: ff5b1eeb3d0d148999279c26a3ce8c38a0613ddcbcd3f1f5a7de77f6a73b9b01

Contents?: true

Size: 831 Bytes

Versions: 28

Compression:

Stored size: 831 Bytes

Contents

/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

(function(){var a=function(b){var c=b.document,d=b.window.getViewPaneSize().height,e;if(CKEDITOR.env.ie)e=c.getBody().$.scrollHeight+24;else e=c.getDocumentElement().$.offsetHeight;var f=b.config.autoGrow_minHeight,g=b.config.autoGrow_maxHeight;f==undefined&&(b.config.autoGrow_minHeight=f=200);if(f)e=Math.max(e,f);if(g)e=Math.min(e,g);if(e!=d){e=b.fire('autoGrow',{currentHeight:d,newHeight:e}).newHeight;b.resize(b.container.getStyle('width'),e,true);}};CKEDITOR.plugins.add('autogrow',{init:function(b){for(var c in {contentDom:1,key:1,selectionChange:1,insertElement:1})b.on(c,function(d){if(d.editor.mode=='wysiwyg')setTimeout(function(){a(d.editor);},100);});}});})();

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
forge-cli-0.1.8 lib/forge/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.7 lib/forge/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.6 lib/forge/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.5 lib/forge/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.4 lib/forge/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.3 lib/forge/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.2 lib/forge/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.1 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.1.0 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.18 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.17 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.16 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.15 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.14 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.13 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.12 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.11 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.10 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.9 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js
forge-cli-0.0.8 lib/forge/public/javascripts/ckeditor/plugins/autogrow/plugin.js