We are using mindmap diagram and looking for a way to make input text bigger. At least make it multiline when user edit the node.
While text editing the node, the text render in multiple lines once the text edit is completed the text render in single line. Are you expecting to increase the width and height of the node while text edit is completed. Refer the below image.
While initial text edit:
Text edit completed:
Not after complete but when user is typing in it cause if you writing a big text you can not see backwards with little text box. Yes, if we could increase height and width of textbox while editing it.
We already have the same behavior that you have mentioned, you can refer the below video. If it not satisfy your requirement, could you please share your requirement with more details like videos, so that we will validate and update you with more details.
When you create a new node and type something in it it will not go into new line however when you edit it again it will go into new line. Please watch the video for reference.
You can replicate this issue on your demo page as well.
Created the sample code for this as well. You will notice in the video when i edit the root it goes in new line but new node is not.
We will validate and update you with more details on May 10, 2023.
We have made the necessary modifications to the sample in order to meet your requirements. Now, when you edit the annotation of the newly created node, the annotation text box size will automatically expand. Here is the updated sample for your reference:
Sample: Hj3v4c (forked) - StackBlitz