Editable:true not working


I have created a palette, used itemArray to iterate and display TextBlock in a panel.
used editable: true to edit the text. But iam unable to edit the text.
Also tried to add custom editor to the diagram this.diagram.toolManager.textEditingTool.defaultTextEditor = this.customEditor();
but i was unable to make the text editable in the palette.

Is there any specific way to make the text editable in the palette?
Need to make the text highlighted in red editable using customEditor();

Palettes have Diagram.isReadOnly set to true.
You will at least have to set that to false on your palette, but you may also want to set some other properties to prevent some other behaviors that you don’t want. Read about them at: GoJS User Permissions -- Northwoods Software