Hi. Is it possible to change the default font (type, size) of Monaco JavaScript editor? I tried to manually edit the specific node-red instance's settings.js file, but it is overwritten at instance boot. Thanks.
Hi @tnonas, welcome to the forum.
At present, this is not a setting we expose to the user.
As an interim workaround, you can do the following:
- Open any function or template or node that has a monaco editor
- With the cursor inside the monaco editor, hold CTRL and roll the mouse wheel to adjust the text size
This will remain set throughout your session for all instances of monaco

Hope that gets you by for now.
EDIT
Since font size it very personal, it should probably be stored in the users settings (not in flowfuse settings). Therefore I suspect any adjustment should be on a per user basis and part of Node-RED core (not flowfuse) for all to take advantage of.
Thank you @Steve-Mcl for the prompt reply. I agree that font type and size is very user-specific. It is also one of the first things any coder (or Sunday coder as myself) does. Maybe such option could be placed in a future in specific user settings on FlowFuse platform. I was mainly looking to change the font type as I do for my standalone node-red deployments.
Hi, how do you do it with a laptop and no scroll wheel ? I've tried various actions but the best I can get is a zoom on the whole page but then the scroll bars etc. disappear off the edge.
Also, where can I find settings.js ?
Thanks
Have you tried:
- put cursor inside (click in text editor) and with mouse pointer still over it, 2 finger pinch zoom on the touch pad?
- put cursor inside (click in text editor) and with mouse pointer still over it, hold CTRL and perform 2 finger scroll on the touch pad?
- put cursor inside (click in text editor) press F1 (or ctrl-shift-p), search text or font or size?
Thanks for replying, the first one zooms the whole page and the other two do nothing.
What OS (windows/macos/linux) and browser (Chrome/firefox/safari/etc) are you using?
For me (windows + chrome) all 3 methods work.

It's Win 10/ Opera; also just tried on Firefox
That 3rd option with the command palette, how do you get that menu to pop up ?
right click (2 finger click on most pads) or...
Ctrl/Shift/P and F1 do nothing. Right click while focussed in editor gives normal menu, copy, paste, select all etc.
Is editing settings.js still a way to do this and if so, how to find it? I've looked a bit but no luck. The node-red installation is on another machine if that makes a difference.
Since this is a FlowFuse thread, no. But if you are running node-red yourself, yes. I am away from keyboard for a few days so cannot help further. However if you search the forum or start your own thread in General you may get other help.
I never thought about that difference when I replied to this thread. I will start a new thread.
Anyway, thanks very much for your help.