add an event pre-init of tinymce