Skip to content

Commit d39410b

Browse files
author
Gerardo
committed
React Native Bridge - Remove Gallery V1 block flags and other experimental features (List, and Quote)
1 parent 259bc6d commit d39410b

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

packages/react-native-bridge/android/react-native-bridge/src/main/java/org/wordpress/mobile/WPAndroidGlue/GutenbergProps.kt

-8
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ data class GutenbergProps @JvmOverloads constructor(
5454
?.let { putSerializable(PROP_FEATURES, it) }
5555
theme.getSerializable(PROP_IS_FSE_THEME)
5656
?.let { putSerializable(PROP_IS_FSE_THEME, it) }
57-
theme.getSerializable(PROP_GALLERY_WITH_IMAGE_BLOCKS)
58-
?.let { putSerializable(PROP_GALLERY_WITH_IMAGE_BLOCKS, it) }
59-
theme.getSerializable(PROP_QUOTE_BLOCK_V2)
60-
?.let { putSerializable(PROP_QUOTE_BLOCK_V2, it) }
61-
theme.getSerializable(PROP_LIST_BLOCK_V2)
62-
?.let { putSerializable(PROP_LIST_BLOCK_V2, it) }
6357
}
6458
}
6559

@@ -100,8 +94,6 @@ data class GutenbergProps @JvmOverloads constructor(
10094
private const val PROP_COLORS = "colors"
10195
private const val PROP_GRADIENTS = "gradients"
10296
private const val PROP_IS_FSE_THEME = "isFSETheme"
103-
private const val PROP_QUOTE_BLOCK_V2 = "quoteBlockV2"
104-
private const val PROP_LIST_BLOCK_V2 = "listBlockV2"
10597

10698
const val PROP_INITIAL_TITLE = "initialTitle"
10799
const val PROP_INITIAL_DATA = "initialData"

packages/react-native-bridge/ios/Gutenberg.swift

-8
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,6 @@ public class Gutenberg: UIResponder {
231231
var settingsUpdates = [String : Any]()
232232
settingsUpdates["isFSETheme"] = editorSettings?.isFSETheme ?? false
233233

234-
if let quoteBlockV2 = editorSettings?.quoteBlockV2 {
235-
settingsUpdates["quoteBlockV2"] = quoteBlockV2
236-
}
237-
238-
if let listBlockV2 = editorSettings?.listBlockV2 {
239-
settingsUpdates["listBlockV2"] = listBlockV2
240-
}
241-
242234
if let rawStyles = editorSettings?.rawStyles {
243235
settingsUpdates["rawStyles"] = rawStyles
244236
}

packages/react-native-bridge/ios/GutenbergBridgeDataSource.swift

-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ public extension GutenbergBridgeDataSource {
8282

8383
public protocol GutenbergEditorSettings {
8484
var isFSETheme: Bool { get }
85-
var quoteBlockV2: Bool { get }
86-
var listBlockV2: Bool { get }
8785
var rawStyles: String? { get }
8886
var rawFeatures: String? { get }
8987
var colors: [[String: String]]? { get }

0 commit comments

Comments
 (0)