Skip to content

Commit a38308d

Browse files
authored
build: Update GutenbergKit to v0.14.0 (#25410)
* build: Update GutenbergKit to v0.14.0 * feat: enable network fallback mode in GutenbergKit editor Enable automatic network fallback mode so the editor gracefully degrades to the bundled editor when the device is offline, rather than showing a fatal error.
1 parent 358388c commit a38308d

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Modules/Package.resolved

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

Modules/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ let package = Package(
5555
.package(url: "https://github.com/wordpress-mobile/wpxmlrpc", from: "0.9.0"),
5656
.package(url: "https://github.com/wordpress-mobile/NSURL-IDN", revision: "b34794c9a3f32312e1593d4a3d120572afa0d010"),
5757
.package(url: "https://github.com/zendesk/support_sdk_ios", from: "8.0.3"),
58-
.package(url: "https://github.com/wordpress-mobile/GutenbergKit", revision: "v0.14.0-alpha.0"),
58+
.package(url: "https://github.com/wordpress-mobile/GutenbergKit", from: "0.14.0"),
5959
// We can't use wordpress-rs branches nor commits here. Only tags work.
6060
.package(url: "https://github.com/Automattic/wordpress-rs", revision: "alpha-20260313"),
6161
.package(

WordPress/Classes/Utility/Editor/EditorConfiguration+Blog.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ extension EditorConfiguration {
5656
.setShouldUsePlugins(Self.shouldEnablePlugins(for: blog, appPassword: applicationPassword))
5757
.setLocale(WordPressComLanguageDatabase.shared.deviceLanguage.slug)
5858
.setEnableNetworkLogging(ExtensiveLogging.enabled)
59+
.setNetworkFallbackMode(.automatic)
5960

6061
// Build editor assets endpoint
6162
var editorAssetsEndpoint = siteApiRoot

0 commit comments

Comments
 (0)