Making a text block non editable

Hi,

I have applied a textblock to show a label on the link now I want to make that textblock noneditable and readonly how to do that.

My code is like this.

graph.diagram(go.TextBlock, { margin: 8, stroke: “#000”, font: currentFont, text: tip, editable:false }));

Thanks and Regards
Utpal Maity

That’s right. By default TextBlock.editable is false, so you don’t need to even say that when creating the TextBlock.