Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add prop for updating blocks from external events #125

Open
hcientist opened this issue Mar 7, 2025 · 0 comments · May be fixed by #127
Open

add prop for updating blocks from external events #125

hcientist opened this issue Mar 7, 2025 · 0 comments · May be fixed by #127

Comments

@hcientist
Copy link

Similar to the use case in Praxly, I would like to have an external event (like the update of code in another format) result in the blockly workspace re-rendering its state. I propose adding props:

  1. updateXML
  2. updateJSON

If the value of either of these changes, BlocklyWorkSpace would ideally do much (but perhaps not all?) of what it does in the respective importFrom functions (i.e. importFromXml, importFromJson)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant