Skip to main content

Search and Top Navigation

#5769 closed feature (notabug)

Opened June 25, 2010 01:35PM UTC

Closed September 20, 2012 07:26PM UTC

Last modified October 11, 2012 09:15PM UTC

Demos: Adding 'Edit on jsbin' links

Reported by: jzaefferer 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.

Attachments (0)
Change History (3)

Changed February 27, 2012 03:45PM UTC by jzaefferer comment:1

status: newopen

Changed September 20, 2012 07:26PM UTC by gnarf comment:2

resolution: → invalid
status: openclosed

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

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted