Sha256: b5cbd5762aa21cb596f129937228fda8119471504fab3cf317b62f5db70926de

Contents?: true

Size: 1.15 KB

Versions: 242

Compression:

Stored size: 1.15 KB

Contents

(function(){tinymce.create("tinymce.plugins.AutoResizePlugin",{init:function(a,c){var d=this;if(a.getParam("fullscreen_is_enabled")){return}function b(){var h=a.getDoc(),e=h.body,j=h.documentElement,g=tinymce.DOM,i=d.autoresize_min_height,f;f=tinymce.isIE?e.scrollHeight:j.offsetHeight;if(f>d.autoresize_min_height){i=f}g.setStyle(g.get(a.id+"_ifr"),"height",i+"px");if(d.throbbing){a.setProgressState(false);a.setProgressState(true)}}d.editor=a;d.autoresize_min_height=a.getElement().offsetHeight;a.onInit.add(function(f,e){f.setProgressState(true);d.throbbing=true;f.getBody().style.overflowY="hidden"});a.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);a.onLoadContent.add(function(f,e){b();setTimeout(function(){b();f.setProgressState(false);d.throbbing=false},1250)});a.addCommand("mceAutoResize",b)},getInfo:function(){return{longname:"Auto Resize",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autoresize",tinymce.plugins.AutoResizePlugin)})();

Version data entries

242 entries across 211 versions & 12 rubygems

Version Path
kete-tiny_mce-0.1.0 lib/tiny_mce/assets/tiny_mce/plugins/autoresize/editor_plugin.js
krasivotokak-tiny_mce-0.0.1 public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
krasivotokak-tiny_mce-0.0.2 public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
krasivotokak-tiny_mce-0.0.4 public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
krasivotokak-tiny_mce-0.1.0 lib/tiny_mce/assets/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.5.15 vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
soapbox-0.3.1 public/soapbox/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
soapbox-0.3.0 public/soapbox/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.5.14 vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
soapbox-0.2.24 public/soapbox/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
soapbox-0.2.23 public/soapbox/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.5.13 vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
soapbox-0.2.21 public/soapbox/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.5.12 vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.5.11 vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
soapbox-0.2.20 public/soapbox/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
soapbox-0.2.18 public/soapbox/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.4.11 public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.4.10 public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
noodall-ui-0.5.10 vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js