makenai / robotnik

Drag and drop robotics educational library starring Johnny Five and Blockly (crowd goes wild)
52 stars 13 forks source link

Preserve edited code #3

Open makenai opened 9 years ago

makenai commented 9 years ago

When someone edits code in the code tab, then changes the blocks, their changes will disappear. We should probably create a new tab with their edited version preserved, or at least prompt them if they really want to throw away their changes. Could also prompt before creating a new tab.

Resseguie commented 9 years ago

We'd have to figure something out from scratch for this: "Blockly can export from blocks to JavaScript, Python, and Dart. However we have no plans to import from one of these languages to Blockly"