add preview editor