Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Regarding Text-block to be open as edited mode

$
0
0

@shivam wrote:

Hello Support Team,

I am facing two challenge, of a canvas
1) With event ExternalObjectsDropped.
I have two type of shapes 1st is a basic shape and another is chevron shape.
So when I drag a normal shape then, it's text-block comes in an edited mode(Because all shapes are not interlinked) and i am using this code :
var tb = myDiagram.selection.first().findObject('TEXT');
if (tb) myDiagram.commandHandler.editTextBlock(tb);
But in the case of chevron, we interrelate all shapes forcefully .like this structure
1->1>1->1
Now I want to show text-block of Dragged chevron shape as an edit mode.
2) On double click on any node, I want to show a shape in edit mode and selected text to be deleted.

So please provide support for these scenarios.

Thanks
Shivam Varshney

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles