Skip to content

[Playground Block] Link "Open in new tab" to playground.wordpress.net#397

Merged
adamziel merged 1 commit into
trunkfrom
open-in-new-tab-on-playground-wordpress-net
Dec 22, 2025
Merged

[Playground Block] Link "Open in new tab" to playground.wordpress.net#397
adamziel merged 1 commit into
trunkfrom
open-in-new-tab-on-playground-wordpress-net

Conversation

@adamziel
Copy link
Copy Markdown
Collaborator

Rewires the "Open in a new tab" link in the Playground block to go directly to playground.wordpress.net/, see the related Playground handler logic.

This commit simplifies the plugin and shifts work from the local site to the Playground.

Testing instructions

  1. Start a local dev server via nx dev wordpress-playground-block
  2. Create a new post
  3. Add the Playground block
  4. Create a few files in that block
  5. Publish the page
  6. View the published page
  7. Click the "Open in a new tab" link
  8. Confirm it opens at playground.wordpress.net

Rewires the "Open in a new tab" link in the Playground block to go
directly to playground.wordpress.net/, see the [related Playground
handler logic](WordPress/wordpress-playground#3071).

This commit simplifies the plugin and shifts work from the local site
to the Playground.

 ## Testing instructions

1. Start a local dev server via `nx dev wordpress-playground-block`
2. Create a new post
3. Add the Playground block
4. Create a few files in that block
5. Publish the page
6. View the published page
7. Click the "Open in a new tab" link
8. Confirm it opens at playground.wordpress.net
@adamziel adamziel added Enhancement New feature or request Playground block labels Dec 22, 2025
@adamziel adamziel merged commit 5f3d428 into trunk Dec 22, 2025
2 checks passed
@adamziel adamziel deleted the open-in-new-tab-on-playground-wordpress-net branch December 22, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request Playground block

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant