Skip to content

Commit eaf2d65

Browse files
Gerardo Pachecotwstokesgeriuxfluiddot
authored
Mobile Release v1.119.1 (#62273)
* Release script: Update react-native-editor version to 1.119.0 * Release script: Update CHANGELOG for version 1.119.0 * Release script: Update podfile * [Mobile] - Image corrector - Check the path extension is a valid one (#62190) * Mobile - Image corrector - Check the path extension is a valid one * [Mobile] - Image corrector- Expand comment explaining the filtering for file: media paths * Integration Test helpers - Expand pasteIntoRichText to support passing files as a parameter * Mobile Editor Tests - Add new tests related to pasting HTML content with local image paths * Update snapshot * [Mobile] - Unsupported block - UI improvements (#62240) * Mobile - Unsupported block editor - Update editor style overrides * Mobile - Unsupported block - Update UI to show Tap to edit for unsupported blocks, simplifying the flow to open the Unsupported block editor * Fix unsupported block condition * Update snapshot * Fix condition for the help icon * Release script: Update react-native-editor version to 1.119.1 * Release script: Update CHANGELOG for version 1.119.1 * Release script: Update podfile * Update Unsupported Block Editor condition and reverts the functionality to select the block first before opening the editor. * Update snapshot * Update package-lock.json --------- Co-authored-by: twstokes <[email protected]> Co-authored-by: geriux <[email protected]> Co-authored-by: fluiddot <[email protected]>
1 parent a58e49b commit eaf2d65

File tree

8 files changed

+21
-13
lines changed

8 files changed

+21
-13
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/block-library/src/missing/edit.native.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,14 @@ export class UnsupportedBlockEdit extends Component {
6767
canEditUnsupportedBlock() {
6868
const {
6969
canEnableUnsupportedBlockEditor,
70+
isEditableInUnsupportedBlockEditor,
7071
isUnsupportedBlockEditorSupported,
7172
} = this.props;
7273

7374
return (
7475
! canEnableUnsupportedBlockEditor &&
75-
isUnsupportedBlockEditorSupported
76+
isUnsupportedBlockEditorSupported &&
77+
isEditableInUnsupportedBlockEditor
7678
);
7779
}
7880

@@ -194,7 +196,8 @@ export class UnsupportedBlockEdit extends Component {
194196

195197
render() {
196198
const { originalName } = this.props.attributes;
197-
const { getStylesFromColorScheme, preferredColorScheme } = this.props;
199+
const { isSelected, getStylesFromColorScheme, preferredColorScheme } =
200+
this.props;
198201
const blockType = coreBlocks[ originalName ];
199202

200203
const title = this.getTitle();
@@ -226,6 +229,7 @@ export class UnsupportedBlockEdit extends Component {
226229
const iconClassName = 'unsupported-icon' + '-' + preferredColorScheme;
227230
return (
228231
<TouchableOpacity
232+
disabled={ ! isSelected }
229233
activeOpacity={ 0.5 }
230234
accessibilityLabel={ __( 'Help button' ) }
231235
accessibilityRole="button"

packages/block-library/src/missing/test/__snapshots__/edit.native.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exports[`Missing block renders without crashing 1`] = `
99
{
1010
"busy": undefined,
1111
"checked": undefined,
12-
"disabled": undefined,
12+
"disabled": true,
1313
"expanded": undefined,
1414
"selected": undefined,
1515
}

packages/react-native-aztec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wordpress/react-native-aztec",
3-
"version": "1.119.0",
3+
"version": "1.119.1",
44
"description": "Aztec view for react-native.",
55
"private": true,
66
"author": "The WordPress Contributors",

packages/react-native-bridge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wordpress/react-native-bridge",
3-
"version": "1.119.0",
3+
"version": "1.119.1",
44
"description": "Native bridge library used to integrate the block editor into a native App.",
55
"private": true,
66
"author": "The WordPress Contributors",

packages/react-native-editor/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ For each user feature we should also add a importance categorization label to i
1313
- [*] Prevent deleting content when backspacing in the first Paragraph block [#62069]
1414
- [internal] Adds new bridge functionality for updating content [#61796]
1515

16+
## 1.119.1
17+
- [*] Image corrector - Check the path extension is a valid one [#62190]
18+
- [*] Unsupported block - UI improvements [#62240]
19+
1620
## 1.119.0
1721
- [internal] Remove circular dependencies within the components package [#61102]
1822
- [internal] Upgrade target sdk version to Android API 34 [#61727]

packages/react-native-editor/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PODS:
1313
- ReactCommon/turbomodule/core (= 0.73.3)
1414
- fmt (6.2.1)
1515
- glog (0.3.5)
16-
- Gutenberg (1.119.0):
16+
- Gutenberg (1.119.1):
1717
- React-Core (= 0.73.3)
1818
- React-CoreModules (= 0.73.3)
1919
- React-RCTImage (= 0.73.3)
@@ -1109,7 +1109,7 @@ PODS:
11091109
- React-Core
11101110
- RNSVG (14.0.0):
11111111
- React-Core
1112-
- RNTAztecView (1.119.0):
1112+
- RNTAztecView (1.119.1):
11131113
- React-Core
11141114
- WordPress-Aztec-iOS (= 1.19.11)
11151115
- SDWebImage (5.11.1):
@@ -1343,7 +1343,7 @@ SPEC CHECKSUMS:
13431343
FBReactNativeSpec: 73b3972e2bd20b3235ff2014f06a3d3af675ed29
13441344
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
13451345
glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
1346-
Gutenberg: 8f5a5b16c987c6532add8413cb3411f583f43b69
1346+
Gutenberg: be04e16bda9f59460f938d9c3f1248778df0368f
13471347
hermes-engine: 5420539d016f368cd27e008f65f777abd6098c56
13481348
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
13491349
libwebp: 60305b2e989864154bd9be3d772730f08fc6a59c
@@ -1402,7 +1402,7 @@ SPEC CHECKSUMS:
14021402
RNReanimated: 6936b41d8afb97175e7c0ab40425b53103f71046
14031403
RNScreens: 2b73f5eb2ac5d94fbd61fa4be0bfebd345716825
14041404
RNSVG: 255767813dac22db1ec2062c8b7e7b856d4e5ae6
1405-
RNTAztecView: c0a124a24b01a96ceeac8c0dcdc461f2d06e13f2
1405+
RNTAztecView: 268a6489f223c3a91afa2ba5ee7bef82df900c69
14061406
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
14071407
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
14081408
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17

packages/react-native-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wordpress/react-native-editor",
3-
"version": "1.119.0",
3+
"version": "1.119.1",
44
"description": "Mobile WordPress gutenberg editor.",
55
"author": "The WordPress Contributors",
66
"license": "GPL-2.0-or-later",

0 commit comments

Comments
 (0)