Skip Node Selection upon clicking on Text Block in the node

I have a Node with Rectangle shape. Inside that, I have horizontal panel with icon and text block(editable as true). selectionAdorned is true for my node and I want selection to happen upon clicking on node.

But I want selection to be skipped when I click on textblock of my node to edit the text. How can I be able to acheive that
Screenshot 2024-03-25 at 2.26.00 PM

First, have you set TextEditingTool.starting to SingleClick? TextEditingTool | GoJS API

that is working for my usecaseā€¦ thanks @walter