A set of Blockly blocks that allow end-users to define procedures (i.e. functions). These blocks reference explicit backing data models, which allows them to be more easily manipulated, and shared between workspaces.
Note that these blocks have the same names as the built-in procedure blocks, so you can seamlessly upgrade your existing project to use the new blocks.
yarn add @blockly/block-shareable-procedures
npm install @blockly/block-shareable-procedures
See developers.google.com/blockly/guides/create-custom-blocks/procedures/using-procedures for more information about using this plugin.
Apache 2.0