Added compatibility for TinyMCE v4