In version 4.XX, tinymce is where many changes have been made. Work code:
tinyMCE.init({ ..., setup: function (ed) { ed.on('init', function(args) { var id = ed.id; var height = 25; document.getElementById(id + '_ifr').style.height = height + 'px'; document.getElementById(id + '_tbl').style.height = (height + 30) + 'px'; }); }, ..., });
garyee
source share