Open Ekimik opened 5 years ago
Any movement on this? I am running into the same issue - I have remote HTML content than I'm trying to put in a grafana dashboard via this plugin, and unfortunately without providing some inline styling it doesn't really work for my purposes. Thanks!
Hi, I have certain specific datasources and I need to load some metrics from these datasources to Grafana. So I created simple app, which creates HTML snippet with desired content, which is then loaded to Grafana by this plugin. I also add inline styles to my template. My app creates HTML snippet similar to
But result in Grafana after rendering is
I believe the reason for this is Angular SCE feature, which is used when rendering content as HTML. It would be nice if inline styles remain in HTML, because snippet mentioned above is useless without colors (green - ok, red - failure).