danilowoz / create-content-loader

✏️ Tool to create your own react-content-loader easily.
https://skeletonreact.com/
1.23k stars 287 forks source link

[Feature] Manipulating the code preview/snippet to update the rendered preview #18

Open samwalshnz opened 6 years ago

samwalshnz commented 6 years ago

When I wanted to create duplicates of the same svg element, I found myself wanting to copy paste some of the svg elements in the generated code snippets/preview section, hoping that it would then be reflected in the preview/tool on the right.

danilowoz commented 6 years ago

So, that is the idea, isn't it work for you? Can you send a screenshot to me? Maybe there is a bug which I haven't found yet

samwalshnz commented 6 years ago

Ah it looks like it sometimes works... 2018-05-10 13 11 36

samwalshnz commented 6 years ago

Notice how the first time I pasted the line of code, it disappeared after hitting enter?

danilowoz commented 6 years ago

:( sad I'll investigate it

Thanks

sibelius commented 3 years ago

I can't edit the code

image

maybe using monaco or something like this could help