Skip to content

Commit

Permalink
made block output read only
Browse files Browse the repository at this point in the history
  • Loading branch information
N-J-Martin committed Mar 11, 2024
1 parent 26fb109 commit aa2da27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let startBlock = dataWS.newBlock("object");
startBlock.initSvg();
dataWS.render()

const blockOut = Blockly.inject(document.getElementById('blocklyDiv2'), {});
const blockOut = Blockly.inject(document.getElementById('blocklyDiv2'), {readOnly:true});

//variable category using https://www.npmjs.com/package/@blockly/plugin-typed-variable-modal.
// much of the code below is from the usage instructions
Expand Down

0 comments on commit aa2da27

Please sign in to comment.