Get text from node after edit

Hi, I need to get the text from a node after the user edits that text, I am new using GoJS and I don’t know how to do this, is it possible?
Thank you.

If you have a TwoWay Binding on the TextBlock.text property, the source property of the node’s data object will have the new string.

Perhaps you want to define a TextBlock.textEdited event handler?
Or you could declare a “TextEdited” DiagramEvent listener.

1 Like

Perfect, that’s just what I needed, thank you so much!!