google / blockly-devtools

Tools for Blockly app developers to help build custom blocks.
http://developer.google.com/blockly
Apache License 2.0
60 stars 31 forks source link

Block Editor: blocks do not update immediately. #272

Closed AnmAtAnm closed 6 years ago

AnmAtAnm commented 6 years ago

Action

Edit the block-form block definition in the Block Editor. For instance. Add/remove an input, a field, or change some text.

Expected

The preview block should change immediately, with each keystroke or block connection.

This is the behavior in the Block Factory.

Observed

The block definition text and the block preview do not update until the block or field lose focus.

AnmAtAnm commented 6 years ago

As of #284, fixed the block definitions (JSON or JavaScript) updates, but the preview still doesn't always update.

  1. From the starter block, remove the "My Block" text block. Preview updates.
  2. Re-add the text block. Preview does not update.