Playground Block as a sandbox for blocks, plugins, and even site edits
adamziel opened this issue · 0 comments
adamziel commented
I recently managed to embed this live Playground Mindmap in a blog post using the Playground block:
https://whimsical.com/wordpress-playground-mindmap-3hVkrfvWsDvQXSPEDnUGcN
The embed used an <iframe>, and iframes are typically difficult to embed in posts because of security issues, KSES filtering, and user permissions. However, with Playground, we get a sandboxed environment that can run WordPress blocks, plugins, and even clone the current site.
Playground could, therefore, power the following features:
- Use X block without installing it
- Create a page with a feature from Y plugin without installing it
- Build a custom block directly on the website
- Easily embed external content
- A "Playground editor role" who can fork the site, make changes, and propose them back – similar to pull requests but native to WordPress and without git.