Download & Extend

Default "Simple mode" scripts adds function resizeEditorBox that is not included in simple mode

Project:Tiny Tiny MCE
Version:6.x-1.12
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active

Issue Summary

The javascript function resizeEditorBox gets only included in advanced mode on line 214:
(($mode =='advanced') ? tinytinymce_resize() : '').

But the default script for Simple mode adds on line 248:
init_instance_callback : "resizeEditorBox",

This generates an 'undefined' is null or not an object error in IE.

Solution is to always add tinytinymce_resize().

nobody click here