solid-playground icon indicating copy to clipboard operation
solid-playground copied to clipboard

Import/Drag Solid Component(.jsx/.tsx) files directly from files storage into Playground.

Open swise0 opened this issue 4 years ago • 1 comments

Feature Request.. Allow component files to be loaded and renamed automatically in a new tab when user drags and drop file(s) into the playground editor..

Also button to import them either in json format or file format (Level.jsx) in the nav menu should be nice 🙂..

Bonus.. Allow multiple files being dragged into code playground to be treated the same.. loaded automatically and renamed by their original component file names eg(Root.jsx)..

swise0 avatar Jul 12 '21 14:07 swise0

That a nice idea.

This should not be too hard to implement if you take some inspirations from the JSON import/export.

I'm open to PR.

amoutonbrady avatar Jul 26 '21 19:07 amoutonbrady