# Text break line in node-red-contrib-ui-svg

**URL:** https://discourse.nodered.org/t/text-break-line-in-node-red-contrib-ui-svg/92585
**Category:** Dashboard
**Created:** [22 October 2024 16:56 UTC](https://discourse.nodered.org/t/text-break-line-in-node-red-contrib-ui-svg/92585 "2024-10-22T16:56:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bobfield](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobfield/32/83723_2.png) [@bobfield](https://discourse.nodered.org/u/bobfield)
#### Post date: [22 October 2024 16:56 UTC](https://discourse.nodered.org/t/text-break-line-in-node-red-contrib-ui-svg/92585/1 "2024-10-22T16:56:33Z")

</div>

Hi Dears,

How can I do to break a string sent to an svg text field? I'm using dashboard 1.0 with node-red-contrib-ui-svg, and the 'update\_text' command to send the string to the text box. The string always comes out on a single line, leaving the limit of the text box.

Best Regards,

Roberto

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [22 October 2024 17:10 UTC](https://discourse.nodered.org/t/text-break-line-in-node-red-contrib-ui-svg/92585/2 "2024-10-22T17:10:01Z")

</div>

Have you tried the html break tag `<br />`

---

<div class="post-metadata">

### Author: ![bobfield](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobfield/32/83723_2.png) [@bobfield](https://discourse.nodered.org/u/bobfield)
#### Post date: [22 October 2024 17:42 UTC](https://discourse.nodered.org/t/text-break-line-in-node-red-contrib-ui-svg/92585/3 "2024-10-22T17:42:27Z")

</div>

Yes. No success.

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [22 October 2024 18:01 UTC](https://discourse.nodered.org/t/text-break-line-in-node-red-contrib-ui-svg/92585/4 "2024-10-22T18:01:25Z")

</div>

You can try css wrap or html pre.  
You may want to supply an example of your flow.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [21 November 2024 18:01 UTC](https://discourse.nodered.org/t/text-break-line-in-node-red-contrib-ui-svg/92585/5 "2024-11-21T18:01:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
