quintel / etengine

Calculation engine for the Energy Transition Model
https://energytransitionmodel.com/
MIT License
15 stars 7 forks source link

Added a ctrl + enter shortcut for editing scenarios #1439

Closed louispt1 closed 3 months ago

louispt1 commented 3 months ago

Generalised the CodeMirror function in application.js so any codemirror instances could use the ctrl+enter command to submit a form. Hence editing scenarios can be submitted with ctrl + enter now.

Should I write tests for this kind of change @noracato?

mabijkerk commented 3 months ago

🙌