Restrict view modes available in the WYSIWYG per file type