Help needed to implement IFocusableTree for multiselect plugin

67 views
Skip to first unread message

Songlin Jiang

unread,
Jun 2, 2025, 12:05:14 PMJun 2
to Blockly
Hi there,

I'm reaching out to get advice from the community on best practices for integrating multiselect plugin support in Blockly v12. With the introduction of IFocusableTree, the multiselect plugin isn’t working now. We're considering implementing IFocusableTree on top of MultiselectDraggable, but we're unsure about the best approach to do this on our side. So now I'm checking with you first to see if there is any possibility of handling this directly within the Blockly core to streamline the implementation? Any support or guidance you can provide would be greatly appreciated.

Best regards,
Songlin

feni...@google.com

unread,
Jun 13, 2025, 7:59:20 PMJun 13
to Blockly
Hi Songlin,

Thanks for getting touch about this!

I think you're correct that implementing `IFocusableTree` would resolve this. I suggest starting with a close read of the interfaces for `IFocusableTree` and `IFocusableNode`, and posting any questions here for the team to follow up on. 

>So now I'm checking with you first to see if there is any possibility of handling this directly within the Blockly core to streamline the implementation?
Long term, my goal is to get multiselection as a core feature--that's actually why we didn't completely combine the concepts of "focus" and "selection". 

We don't have anyone assigned to work on multiselection in Q3, but can support you as you work on it. If you find missing APIs or incompatibilities as you work on this, please do let us know so we can make changes in core to support this feature.

Thanks,
Rachel

Reply all
Reply to author
Forward
0 new messages