PDA

View Full Version : Fiddle Idea: Customize How Fiddle is Inserted in Forum



existdissolve
27 Jul 2013, 4:53 AM
I think it would potentially be nice to be able to customize which "tabs" are included in the embedded fiddle. For example, in most fiddles, I will probably never include CSS or HTML, so it would be nice to be able to remove those from the embedded version.

Also, I've noticed that the data tabs don't appear in the embedded version. Might be cool to be able to see those as well.

mitchellsimoens
27 Jul 2013, 5:01 AM
The forum integration is meant for something quick and fast. I can see wanting to show certain tabs but don't want to start showing every bit of information. For example, we want to be able for you to include external files (JS/CSS) and so would we have to show these as well? If you want to view everything then should use the open in fiddle link.

existdissolve
27 Jul 2013, 5:29 AM
The forum integration is meant for something quick and fast. I can see wanting to show certain tabs but don't want to start showing every bit of information. For example, we want to be able for you to include external files (JS/CSS) and so would we have to show these as well? If you want to view everything then should use the open in fiddle link.

I see what you're saying and that makes sense. Thanks!

mitchellsimoens
4 Aug 2013, 8:39 AM
Ok, so with the changes coming next week I found a way to support seeing multiple files in the forum (and in any site embedding a fiddle). This is via a <select> that will update the code:

45195