Function createEditorPreviewPreferences