PencilCode / pencilcode

An online IDE for kids: pencilcode.net.
http://dev.pencilcode.net/
MIT License
167 stars 100 forks source link

Share button when only HTML / CSS is coded #204

Open DeepaMuralidhar opened 8 years ago

DeepaMuralidhar commented 8 years ago

Under setting have HTML / CSS checked. When no programs have been written in the programming space, but the HTML space there is content, click play to see the web page. Now click Share to copy-paste code. The button does not work.

AmayAgrawal commented 8 years ago

I don't think so that the code should be shared when there is empty programming space.If, then also requested to do so we have to just remove one check.We can do it if you think so

davidbau commented 8 years ago

I do think it should be possible to share programs with just HTML and no JS/CS. In fact, I wonder if we should have another choice for JS/CS language which is "None", so you can have a an entire program which is just a static HTML page.

On Thu, Nov 5, 2015 at 12:52 AM, Amay Agrawal notifications@github.com wrote:

I don't think so that the code should be shared when there is empty programming space.If, then also requested to do so we have to just remove one check.We can do it if you think so

— Reply to this email directly or view it on GitHub https://github.com/PencilCode/pencilcode/issues/204#issuecomment-153963969 .

AmayAgrawal commented 8 years ago

No, at present we are not able to share anything if the js/cs is empty.

davidbau commented 8 years ago

Understood. This is a bug and it should be fixed.

On Thu, Nov 5, 2015 at 6:59 AM, Amay Agrawal notifications@github.com wrote:

No, at present we are not able to share anything if the js/cs is empty.

— Reply to this email directly or view it on GitHub https://github.com/PencilCode/pencilcode/issues/204#issuecomment-154040835 .