How to check 'textblock' is under editing

Hello walter,

I’d like to check specific(selected not) ‘textblock’ is under editing or not.


Is there any related api under gojs?

I think this expression will be true if aParticularTextBlock is being edited:

myDiagram.toolManager.textEditingTool.textBlock === aParticularTextBlock

It’s very nice.
I’ve solved this problem by your comment.