pronouncedJerry
pronouncedJerry

Reputation: 45

TinyMCE AutoResize plugin, reset overflow

the autoresizer sets overflow-y:hidden on the editor to do its height calculations but never resets it back to overflow-y:auto. Where/How in my tinyMCE init can I specify a callback after the autoresizer is done?

Upvotes: 3

Views: 763

Answers (1)

Thariama
Thariama

Reputation: 50832

You can reset it after the Tinymce is initialized using the parameter

   setup : function(ed) {
        ed.onInit.add(function(ed, evt) {

            // reset it back here !

        });
   },

Upvotes: 1

Related Questions