Has anyone ever tried to use CodeMirror inside a panel?

Just curious. I realize it’s early times for panels and UXP DOM coverage, but thought I should ask before starting to experiment.

Please share your experience if you decide to start the experiment!

Yes, I most definitely would! Still exploring options…

I don’t think text fields support monospace fonts.

Not yet. But one of these days. We’re also considering something more like a Rich Text Editor widget that would be customizable.

Welcome to try CodeMirror, but I suspect we don’t have nearly enough of the necessary DOM, events, and HTML elements to support it…