You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am considering using BlockMirror in our project but we already have a full layout with Blockly and CodeMirror in it. So we don't need the BlockMirror div. Whta I am looking for is 'just' the function getBlocklyXMLFromPython(python_code) which accepts a full python scripts, and outputs the Blockly XML. Is there something similar in this code so I can only use that part?
The text was updated successfully, but these errors were encountered:
I believe the main file you need is text_to_blocks.js along with almost everything in src/ast/*.js and src/skulpt/*.js. You may want to trim things down a little, or alternatively you might just consider having everything available and then only importing the relevant parts.
I am considering using BlockMirror in our project but we already have a full layout with Blockly and CodeMirror in it. So we don't need the BlockMirror div. Whta I am looking for is 'just' the function getBlocklyXMLFromPython(python_code) which accepts a full python scripts, and outputs the Blockly XML. Is there something similar in this code so I can only use that part?
The text was updated successfully, but these errors were encountered: