webgiss / niolesk

Edit diagrams from textual descriptions! : A kroki interface.
https://niolesk.top
MIT License
84 stars 10 forks source link

Find a way to implement several editors in the interface #3

Closed gissehel closed 2 years ago

gissehel commented 3 years ago

Find a way to implement several editors in the interface as it's really simple to intgrate different editors with react and switch at runtime.

Having the nicest one (probably MonacoEditor) as default, and using the console to switch is ok.

Having an interface to configure can be done after.

ggrossetie commented 3 years ago

I think https://github.com/microsoft/monaco-editor is enough. My concern is that it would possibly complicating the code and the UI.

In my opinion, it would be better to provide the best possible experience using a single text editor rather than providing several editors.