node-red
node-red copied to clipboard
Error with library (moment) when I enlarge monaco editor
As reported on the forum when I extend the monaco editor window in the function node on node red 2.1.4 using the moment library I get the error "Cannot find name 'moment'. (2304)".
I haven't had the opportunity to test other libraries but I don't think it depends on moment.
Resizing the window and going to setup the error disappears, if instead I click on the done button the node continues to report the error. I attach the screenshoots.

@knolleary I've fixed this issue in my fork (branch fix-monaco-expanded)
Shall I raise a PR against master?
@Steve-Mcl yes please