Hello,
I have a simple link label that I want to make editable, but when I set editable to true it doesn’t do anything. Is there anything extra that is required? Can’t find any documentation on this.
Sorry, having trouble formatting this code in the post:
return GoJs(go.Link, { reshapable: false, resegmentable: false, relinkableFrom: false, relinkableTo: false, isShadowed: false, selectionAdornmentTemplate: GoJs(go.Adornment, 'Auto', { isShadowed: true, shadowBlur: 8, shadowColor: 'grey', shadowOffset: new go.Point(0, 2) }, GoJs(go.TextBlock, { shadowVisible: false }, { textAlign: 'center', editable: true, font: '14px Roboto', stroke: 'white', margin: 4 }, new go.Binding('text', 'label').makeTwoWay()) ) }, GoJs(go.Shape, { shadowVisible: false }, { stroke: 'black', strokeWidth: 2, fill: 'black' } ), GoJs(go.TextBlock, { editable: true, textAlign: 'center', font: '14px Roboto', stroke: 'black', margin: 4 }, new go.Binding('text', 'label').makeTwoWay()), GoJs(go.Shape, { toArrow: 'Triangle', scale: 2, stroke: 'black', fill: 'black' }) );