bartbutenaers / node-red-contrib-blockly

A Node Red node for visual programming a function using Blockly
Apache License 2.0
89 stars 22 forks source link

Make Blocky default to last config used #69

Closed cymplecy closed 3 years ago

cymplecy commented 3 years ago

When using other node with config (such as MQTT) once you define a config - it defaults to that config when you next drag a new block of that type out to use

Can we make Blocky do the same please?

bartbutenaers commented 3 years ago

That makes sense. Do you know other nodes that work like that? Just to find somewhere a code example...

cymplecy commented 3 years ago

The MQTT one does - I'll see if I can find a contrib one

cymplecy commented 3 years ago

This one does

https://flows.nodered.org/node/node-red-node-dropbox

bartbutenaers commented 3 years ago

Ok thanks. I have called for assitance: https://discourse.nodered.org/t/default-config-node/46773

bartbutenaers commented 3 years ago

@cymplecy, The first config node should now automatically be selected for new Blockly nodes. Could you please test this and close this issue?

cymplecy commented 3 years ago

Works great :)