Opened 13 years ago

Closed 11 years ago

Last modified 10 years ago

#5769 closed feature (notabug)

Demos: Adding 'Edit on jsbin' links

Reported by: Jörn Zaefferer Owned by:
Priority: major Milestone:
Component: [meta] ui.demos Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

jsbin accepts content via paremters. From Remy:

http://jsbin.com/?html=remy&js=yay

Obviously you can put all the markup in the HTML tab, and you can force focus only to the HTML tab using the following:

http://jsbin.com/?html=remy&js=yay#html

You just have to escape all the markup and new lines, etc to get it to work as a get.

If this doesn't suffice, I could upgrade JS Bin to accept postMessage messages to modify the editor panel - but I think the above should be the start point.

Adding (generated) links to all demos to open the demo code on jsbin, preferably with dependencies as loaded from CDNs, would allow visitors to test out the code without having to manually copy&paste around.

Change History (3)

comment:1 Changed 11 years ago by Jörn Zaefferer

Status: newopen

comment:2 Changed 11 years ago by Corey Frang

Resolution: invalid
Status: openclosed

Moved issue to jqueryui.com content repo - Please post further comments here: https://github.com/jquery/jqueryui.com/issues/2

comment:3 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.