How to add a line break to a text element in canvas panel

  • What Grafana version and what operating system are you using? Grafana v11.0.0 (b12ad73c52) deployed with docker on a Fedora host

  • What are you trying to achieve? I have a canvas panel and a text element. I want to show some text in the text element in multiple lines.

  • How are you trying to achieve it? I have tried both fixed and from field values with “\n” and “

  • What happened? The “\n” and “
    ” get’s displayed as it is but actual line break is not reflected.

  • What did you expect to happen? To have the text in multiple lines