Switch resolvename functionality to new tinymce 4 method