I'm trying to modify the "text_join" block so that all of the inputs have the "text" block as a shadow.
Going with https://raw.githubusercontent.com/google/blockly/develop/blocks/text.ts and https://github.com/google/blockly/pull/7609 the code I tried was something like:input.connection.setShadowState({'type': 'text'});And this work (kind of), but whenever I remove inputs from the text_join block, they don't just disappear, they get dropped as regular 'text' blocks into the world, which trigger an exception when trying to touch them (unless you save and load).
How would I go about making the text_join block have shadow inputs of text?