Skip to content
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

WordPress Playground Block #94

Closed
danielbachhuber opened this issue Aug 1, 2023 · 3 comments
Closed

WordPress Playground Block #94

danielbachhuber opened this issue Aug 1, 2023 · 3 comments
Labels
Enhancement New feature or request

Comments

@danielbachhuber
Copy link
Member

While working on Test Your Site With WordPress 6.3, I thought it would be cool to embed a WordPress Playground demo for each feature I mentioned ("new Command Palette, a revision system for the Style Book, and simplified menu management").

In order to do this, I think I'd need a WordPress Playground block where I could build a Blueprint to set up the demo I wanted to showcase. I'm not sure if Blueprints support opening specific UI elements on the block editor, so we might need to sort that out too (e.g. Command Palette should load with the command palette already opened, etc.).

@bph
Copy link
Contributor

bph commented Nov 21, 2023

This seems to be in the works now :-)

@adamziel adamziel added the Enhancement New feature or request label Nov 22, 2023
@adamziel adamziel changed the title Create a WordPress Playground block WordPress Playground Block Nov 25, 2023
@adamziel
Copy link
Collaborator

This is now shipped 🎉

https://wordpress.org/plugins/interactive-code-block/

@jonathanbossenger is looking into deploying it on learn.wp.org.

@bph @annezazu what would it take to ship it on make.wp.org and developer news?

@adamziel
Copy link
Collaborator

I’ll go ahead and close this issue. Let’s track any follow-ups separately.

johnhooks pushed a commit to johnhooks/playground-tools that referenced this issue Oct 11, 2024
Adds support for more PHP versions and a `php` query parameter to switch between them. For example:

`/wordpress.html?php=5.6`

Supported PHP versions: 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants