-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: Implement editorRequestsLatestContent for WebView recovery #25144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jan 16, 2026
Draft
Contributor
🤖 Build Failure AnalysisThis build has failures. Claude has analyzed them - check the build annotations for details. |
Contributor
|
| App Name | WordPress | |
| Configuration | Release-Alpha | |
| Build Number | 30570 | |
| Version | PR #25144 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | 65cd331 | |
| Installation URL | 3tan0sjj3vafg |
Contributor
|
| App Name | Jetpack | |
| Configuration | Release-Alpha | |
| Build Number | 30570 | |
| Version | PR #25144 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | 65cd331 | |
| Installation URL | 063rgv751b3e8 |
Collaborator
This comment was marked as outdated.
This comment was marked as outdated.
e38178f to
4499f07
Compare
Base automatically changed from
feat/preload-gutenberg-kit-dependencies
to
trunk
January 21, 2026 21:44
024776c to
749be13
Compare
jkmassel
approved these changes
Jan 22, 2026
Contributor
jkmassel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the testing instructions and it worked for me!
kean
approved these changes
Jan 22, 2026
a96a4f4 to
2a6ddba
Compare
Allow GutenbergKit to retrieve the latest content persisted in the host app as needed. This is important for allowing GutenbergKit to display the latest content after the WebView reloads or re-initializes from memory pressure or backgrounding.
Adapt to latest GutenbergKit methods.
Align with Swift naming conventions.
2a6ddba to
65cd331
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.





Description
Ref CMM-1123.
Implements the
editorRequestsLatestContentdelegate method for GutenbergKit's pull-based content recovery mechanism.When the WebView reinitializes (due to OS memory pressure or page refresh), the editor now requests the latest content from the app rather than using stale content from the initial WebView load. This ensures users don't lose their work during WebView recovery.
Changes:
editorRequestsLatestContent(_:)delegate method toNewGutenbergViewControllerRelated PRs:
Testing instructions
🤖 Generated with Claude Code