sciapp / sampledb

Sample and Measurement Metadata Database
https://scientific-it-systems.iffgit.fz-juelich.de/SampleDB/
MIT License
21 stars 10 forks source link

Font in the schema text editor #17

Closed nilsholle closed 2 years ago

nilsholle commented 3 years ago

In my opinion, a monospace font (similar to that in the JSON-preview) would make editing a schema in the text-based editor much easier. One could even think about using something like the Monaco Editor. What is you opinion on that?

FlorianRhiem commented 3 years ago

Hey @nilsholle, I have set the JSON textareas for the schema editor and for plotly chart fields to use a monospace font in 37f3f138e85ed823e9e015fc09ff0c9711438668 and f1034b9d943d15b202bc46a15bd0abb7f65420fc. I don't plan on embedding an editor like Monaco right now, as people can simply use an editor of their choice to do more complex work on the schemas, however a pull request for something like this would be welcome :)