PencilCode / pencilcode

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

Pencil Code Embed: setCode also resets palette. #228

Open yanamal opened 8 years ago

yanamal commented 8 years ago

If I have a pencil code embed object (called embedding), and I run embedding.setCode('some code'), this also seems to reset the custom palette that I had set earlier with embedding.setBlockOptions().