type map for preview
picture preview and text editor