Help with getting started with the code-editor

Hi All,

I’m trying to use the code-editor that Grafana provides in one of my plugins to allow the user to play around with some custom JSON. I’m not sure how to incorporate this in my plugin. I’m planning to have it in one of the editor tabs. Any resources on getting started with it would be of tremendous help!


Update: I was able to get this working.

1 Like

There isn’t any docs for these Grafana components yet. Something we hope to improve in the near future.

I also have trouble due to that.
I hope there is any docs for ‘code-editor’ and ‘metric-segment’ :slight_smile: