add preview to the create post editor