Sha256: 55eaa7b540e50c95160bc1fd3df7cc23e4d7ed92c4d46323168d6d9f4d5d335f

Contents?: true

Size: 1.19 KB

Versions: 75

Compression:

Stored size: 1.19 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.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);if(a.getParam("autoresize_on_init",true)){a.onInit.add(function(f,e){f.setProgressState(true);d.throbbing=true;f.getBody().style.overflowY="hidden"});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

75 entries across 75 versions & 20 rubygems

Version Path
tinymce_rails-3.4.6 vendor/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-activities-3.2.2 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
tiny_mce-0.1.8 lib/tiny_mce/assets/tiny_mce/plugins/autoresize/editor_plugin.js
tiny_mce-0.1.7 lib/tiny_mce/assets/tiny_mce/plugins/autoresize/editor_plugin.js
muck-activities-3.2.1 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-services-3.3.3 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-commerce-3.0.1 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-profiles-3.1.4 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-auth-3.5.4 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
skylinecms-3.1.0 public/skyline/javascripts/src/skyline.editor/vendor/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-auth-3.5.3 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-profiles-3.1.3 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-auth-3.5.2 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
muck-invites-3.4.1 test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
cable-0.9.16 public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
spree_editor-0.50.0 public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
cable-0.9.15 public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
cable-0.9.14 public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
cable-0.9.13 public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
cable-0.9.12 public/javascripts/tinymce/plugins/autoresize/editor_plugin.js