Skip to content

Blockly Editor [advanced] #5

@PaperPrototype

Description

@PaperPrototype

This requires further research but I see it working as:

  • Create new file with.blockly.json file ending
  • When you click the file it opens Monaco (raw text) and Blockly's visual editor in their own tabs
  • When you click save it serializes the blockly instance and overrides the original file
  • To run the blockly script you need to convert the blockly instance into a JS file (similar to serialization) and save that alongside the .blockly.json file as it's own .blockly.js autogenerated file.
    • It might be possible to do this more cleanly if we make a special "blockly mode" version of the playground that hides this from the user and does it all in the background.

https://developers.google.com/blockly

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions