Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG in edit mode should be possible to output like .svg output #2620

Closed
srguiwiz opened this issue Nov 11, 2015 · 3 comments
Closed

SVG in edit mode should be possible to output like .svg output #2620

srguiwiz opened this issue Nov 11, 2015 · 3 comments
Labels

Comments

@srguiwiz
Copy link

SVG in output mode per https://jsbin.com/blog/twdtw-8-svg-settings works. It has SVG as document root.

SVG in edit mode isn't the same, as inside the iframe there is HTML around the SVG.

E.g. while http://output.jsbin.com/yacika.svg is SVG as expected, in contrast preview in http://jsbin.com/yacika/edit?html,output is HTML wrapped SVG and hence that example's library that works in SVG doesn't work in preview.

Maybe JS Bin's edit mode supporting output with or like .svg would be the easiest solution?

@srguiwiz
Copy link
Author

Regarding placement of JavaScript and CSS in SVG compare one more example http://jsbin.com/badute/edit?html,css,js,console,output versus http://output.jsbin.com/badute.svg .

Luckily, for using JS Bin to allow examples of Adj http://srguiwiz.github.io/adj-js/user-docs/#L7202 , the placement of JavaScript and CSS is optional.

My main objective is to have e.g. jsbin.com/badute**.svg**/edit?html,output show the same SVG as output.jsbin.com/badute**.svg** .

@srguiwiz
Copy link
Author

srguiwiz commented Dec 7, 2015

After significant reengineering, Adj now works reasonably well in SVG inline in HTML, and hence JS Bin can host examples. E.g. http://jsbin.com/tulaceh/edit?html,output .

Need for the enhancement requested by this issue has been reduced. Would be nice though.

@stale
Copy link

stale bot commented Jan 20, 2018

This issue has been automatically marked as stale because it has not had recent activity. More importantly, jsbin has been undergoing a massive refactor by Remy, and a large number of issues have been resolved, but with the growing 600+ open issues, the Stalebot (me), has been brought in to try to manage the issues.
Keep an eye on jsbin.com blog posts and the @js_bin twitter account for updates on the new version of jsbin ❤️
It will be closed next week if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 20, 2018
@stale stale bot closed this as completed Jan 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant