#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
Status: | new → open |
---|
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
Moved issue to jqueryui.com content repo - Please post further comments here: https://github.com/jquery/jqueryui.com/issues/2