You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
Basically, there are two pieces of information that I post to JSFiddle and CodePen: a snippet of JS code that bootstraps all the plugins, and a list of external resources that are loaded in a specific order. I also set an initial title/description.
This could probably work with PixiPlayground as Settings > Custom URL > External Scripts. And contents to populate the code area.
The text was updated successfully, but these errors were encountered:
Where pixiVersion is the URL to your generated file, and the externaljs array is the list of scripts to load (they will be loaded in order). Only contents and pixiVersion are required.
The API call will return a resolved playground data JSON object which includes the generated slug that you can use to craft the URL the user should navigate to, which is https://pixiplayground.com/#/edit/<slug>.
cc @englercj
Here's an example of JSFiddle POST API for auto-filling:
https://docs.jsfiddle.net/api/display-a-fiddle-from-post
Basically, there are two pieces of information that I post to JSFiddle and CodePen: a snippet of JS code that bootstraps all the plugins, and a list of external resources that are loaded in a specific order. I also set an initial title/description.
This could probably work with PixiPlayground as Settings > Custom URL > External Scripts. And contents to populate the code area.
The text was updated successfully, but these errors were encountered: