Say I have created fiddle A and in my new fiddle B, I want to include classes from fiddle A. Instead of using copy&paste inclusion, I would rather refer to fiddle A.
Is it somehow possible to include code from another fiddle?
[edit] I am considering the javascript part
Unfortunately, you cannot include a fiddle in another fiddle. This is due to the fact that JSfiddle prints out the script content directly into the generated document. The only option for external use is via embedding.
The right way would be to fork a new fiddle if you wanted to create a new project based on previous work.
Otherwise you could host your shared code on your site/CDN, and include it in the external resources panel.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With