Default "Simple mode" scripts adds function resizeEditorBox that is not included in simple mode
Helpermedia - June 7, 2009 - 22:13
| Project: | Tiny Tiny MCE |
| Version: | 6.x-1.12 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
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().
