Skip to content

Conversation

dcalhoun
Copy link
Member

What?

Remove the configuration option for setting global values in the WebView.

Why?

This logic is no longer used by the host WordPress apps. Instead, globals like this are set from loading JavaScript files into the WebView, rather than configuring globals via GutenbergKit configuration.

How?

Remove the entire WebView global configuration option.

Testing Instructions

Smoke test the editor.

Accessibility Testing Instructions

N/A, no user-facing changes.

Screenshots or screencast

N/A, no user-facing changes.

This logic is no longer used by the host WordPress apps. Instead,
globals like this are set from loading JavaScript files into the
WebView, rather than configuring globals via GutenbergKit configuration.
@dcalhoun dcalhoun marked this pull request as ready for review August 25, 2025 15:17
@dcalhoun dcalhoun requested a review from nbradbury August 25, 2025 15:18
@nbradbury nbradbury self-assigned this Aug 25, 2025
Copy link
Contributor

@nbradbury nbradbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The related WPAndroid PRs tested fine so :shipit:

@dcalhoun dcalhoun merged commit 0f29235 into trunk Aug 25, 2025
11 checks passed
@dcalhoun dcalhoun deleted the refactor/remove-unnecessary-web-view-global-configuration branch August 25, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants