fixed image settings and custom class on tinymce