updated for TinyMCE 4