CSS Problems after migrating to Grafana 6

Hi everyone,

we’re experiencing some problems with CSS since we migrated our dashboards from Grafana 5.x to Grafana 6.1.6.

  1. Value Mappings stopped to work for Text and for HTML, it just displays the number
  2. HTML Widgets do not accept … on top of it. Now it has to be defined in the tags of the elements.
  3. If HTML is used as Post-/Prefix in Singlestats it does not accept CSS styling in the element tags anymore.

Any ideas on the origin of these problems and on how we can fix this?

Kind regards.

These are security measures to prevent XSS.

you can disable some of these security measures (text panel html): here

For the value mapping and post/prefix there html is not allowed there