Changes between Version 3 and Version 4 of Ticket #7040
- Timestamp:
- 06/08/2023 08:20:30 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7040 – Description
v3 v4 5 5 - The playground should be loaded via a shortcode (as content is managed in GitHub / sync processes, so a block-based approach isn't suitable) 6 6 - Playground content is delivered as an iframe, but we also need to consider; 7 - The shortcode should support providing parameters (details TBD) which passes additional parameters to the iframe URL.7 - The shortcode should support providing parameters (details at [https://wordpress.github.io/wordpress-playground/docs/query-api/]) which passes additional parameters to the iframe URL. 8 8 - The iframe should only be loaded on click/interaction; so we need an 'inactive' state (which should presumably come with some form of skeleton view + sizing) 9 9 - This will require some simple JS (which should only be enqueued on pages where the shortcode is present)