@@ -5,6 +5,7 @@ public class RemoteBlockEditorSettings: Codable {
55 case isFSETheme = " __unstableEnableFullSiteEditingBlocks "
66 case galleryWithImageBlocks = " __unstableGalleryWithImageBlocks "
77 case quoteBlockV2 = " __experimentalEnableQuoteBlockV2 "
8+ case listBlockV2 = " __experimentalEnableListBlockV2 "
89 case rawStyles = " __experimentalStyles "
910 case rawFeatures = " __experimentalFeatures "
1011 case colors
@@ -14,6 +15,7 @@ public class RemoteBlockEditorSettings: Codable {
1415 public let isFSETheme : Bool
1516 public let galleryWithImageBlocks : Bool
1617 public let quoteBlockV2 : Bool
18+ public let listBlockV2 : Bool
1719 public let rawStyles : String ?
1820 public let rawFeatures : String ?
1921 public let colors : [ [ String : String ] ] ?
@@ -40,6 +42,7 @@ public class RemoteBlockEditorSettings: Codable {
4042 self . isFSETheme = ( try ? map. decode ( Bool . self, forKey: . isFSETheme) ) ?? false
4143 self . galleryWithImageBlocks = ( try ? map. decode ( Bool . self, forKey: . galleryWithImageBlocks) ) ?? false
4244 self . quoteBlockV2 = ( try ? map. decode ( Bool . self, forKey: . quoteBlockV2) ) ?? false
45+ self . listBlockV2 = ( try ? map. decode ( Bool . self, forKey: . listBlockV2) ) ?? false
4346 self . rawStyles = RemoteBlockEditorSettings . parseToString ( map, . rawStyles)
4447 self . rawFeatures = RemoteBlockEditorSettings . parseToString ( map, . rawFeatures)
4548 self . colors = try ? map. decode ( [ [ String : String ] ] . self, forKey: . colors)
0 commit comments