Hi Beka, it's a privilege to have you (and also other Blockly veterans) around these forums helping developers, you have been around for a long time and know a lot about Blockly, I'm very grateful.
I tried option 2 and made a small test. I associated a help function for 2 of my blocks in the js definition of the blocks, like this:
Blockly.Blocks[BLOQUE_SENSOR_COLOR] = {
init: function() {
...
this.setHelpUrl(function () {alert('FIRST BLOCK');return null;});
...
}
};
Then I installed this in my tablet and tested. It's exactly what I needed, thanks for that. But there is one problem, sometimes when i tap one of these blocks it shows the alert message for the other block... You can see this 20 seconds video showing the problem:
https://www.youtube.com/watch?v=nofWs1mUoz4Any ideas what could be causing this problem? Or at least in which files of the core is the logic for firing the event, so I can start looking around.
Thanks!