diff --git a/packages/react-native-aztec/package.json b/packages/react-native-aztec/package.json index b788b26aae22c..2f1f712c31ebf 100644 --- a/packages/react-native-aztec/package.json +++ b/packages/react-native-aztec/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-aztec", - "version": "1.48.0", + "version": "1.48.1", "description": "Aztec view for react-native.", "private": true, "author": "The WordPress Contributors", diff --git a/packages/react-native-bridge/ios/Gutenberg.swift b/packages/react-native-bridge/ios/Gutenberg.swift index b52699d7ce921..318b4a255297b 100644 --- a/packages/react-native-bridge/ios/Gutenberg.swift +++ b/packages/react-native-bridge/ios/Gutenberg.swift @@ -133,6 +133,10 @@ public class Gutenberg: NSObject { sendEvent(.replaceBlock, body: ["html": block.content, "clientId": block.id]) } + public func replace(blockID: String, content: String) { + sendEvent(.replaceBlock, body: ["html": content, "clientId": blockID]) + } + public func updateCapabilities() { let capabilites = dataSource.gutenbergCapabilities() sendEvent(.updateCapabilities, body: capabilites.toJSPayload()) diff --git a/packages/react-native-bridge/package.json b/packages/react-native-bridge/package.json index aa82a6a4c87b0..204ca30c3e027 100644 --- a/packages/react-native-bridge/package.json +++ b/packages/react-native-bridge/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-bridge", - "version": "1.48.0", + "version": "1.48.1", "description": "Native bridge library used to integrate the block editor into a native App.", "private": true, "author": "The WordPress Contributors", diff --git a/packages/react-native-editor/CHANGELOG.md b/packages/react-native-editor/CHANGELOG.md index 6eb71f0388b99..66e8a4f347b40 100644 --- a/packages/react-native-editor/CHANGELOG.md +++ b/packages/react-native-editor/CHANGELOG.md @@ -14,6 +14,12 @@ For each user feature we should also add a importance categorization label to i ## 1.48.0 * [**] Buttons block: added width setting. [#28543] +## 1.47.2 +* [**] Adds a `replaceBlock` method to iOS bridge delegate with a string to match the clientID and the contents to replace with. [#29734] + +## 1.47.1 +* [**] Reduce the number of items per page when fetching reusable blocks to prevent a crash. [#29626] + ## 1.47.0 * [**] Add support for setting Cover block focal point. [#25810] diff --git a/packages/react-native-editor/ios/Podfile.lock b/packages/react-native-editor/ios/Podfile.lock index 1c9bb66ecfa60..8c33c1584d628 100644 --- a/packages/react-native-editor/ios/Podfile.lock +++ b/packages/react-native-editor/ios/Podfile.lock @@ -21,7 +21,7 @@ PODS: - DoubleConversion - glog - glog (0.3.5) - - Gutenberg (1.48.0): + - Gutenberg (1.48.1): - React-Core (= 0.61.5) - React-CoreModules (= 0.61.5) - React-RCTImage (= 0.61.5) @@ -253,7 +253,7 @@ PODS: - React-Core - RNSVG (9.13.6-gb): - React-Core - - RNTAztecView (1.48.0): + - RNTAztecView (1.48.1): - React-Core - WordPress-Aztec-iOS (~> 1.19.4) - WordPress-Aztec-iOS (1.19.4) @@ -402,7 +402,7 @@ SPEC CHECKSUMS: FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75 Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 glog: 1f3da668190260b06b429bb211bfbee5cd790c28 - Gutenberg: 670f7b82bc18bde86a516834b72b7eeded1011e8 + Gutenberg: 1f742943f91ab3c6d85978763b5556b1a6ab4ebd RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1 RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320 React: b6a59ef847b2b40bb6e0180a97d0ca716969ac78 @@ -435,7 +435,7 @@ SPEC CHECKSUMS: RNReanimated: f05baf4cd76b6eab2e4d7e2b244424960b968918 RNScreens: 953633729a42e23ad0c93574d676b361e3335e8b RNSVG: 46c4b680fe18237fa01eb7d7b311d77618fde31f - RNTAztecView: 985f01fae9ea8ce9cb18a6f7af9b571084d7c9f9 + RNTAztecView: 8f47afe1354d3d3f78029a1db361192a2085d49d WordPress-Aztec-iOS: 870c93297849072aadfc2223e284094e73023e82 Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b diff --git a/packages/react-native-editor/package.json b/packages/react-native-editor/package.json index c6b2c8f4bd8af..1a9a4f4f21bfa 100644 --- a/packages/react-native-editor/package.json +++ b/packages/react-native-editor/package.json @@ -1,6 +1,6 @@ { "name": "@wordpress/react-native-editor", - "version": "1.48.0", + "version": "1.48.1", "description": "Mobile WordPress gutenberg editor.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later",