add galleryLayout field to editor