# 🎉 Node-RED 2.0.0-beta.1 Released

**URL:** <https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990>\
**Category:** News\
**Created:** [10 June 2021 15:21 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990 "2021-06-10T15:21:18Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [12 June 2021 17:33 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/62 "2021-06-12T17:33:52Z")

</div>

Hello  
Monaco, can not input any text

running 2.0.0.beta1  
browser  
Safari  
Chrome Mac  
Chrome Windows

I can open a already written function, cannot write, be it in a function or any other text input.

in the function node, on the upper left corner, a shadow appears but and some "noise".

see my config file

```auto
    // Customising the editor
editorTheme: {
    codeEditor: {
        lib: "monaco"
    }
 },
codeEditor: {
            /** Select the text editor component used by the editor.
             * Defaults to "ace", but can be set to "ace" or "monaco"
             */
            lib: 'monaco', // 'ace',
            options: {
                /** The follow options only apply if the editor is set to "monaco"
                 *
                 * theme - must match the file name of a theme in
                 * packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
                 * e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
                 */
                theme: 'vs-dark', // 'vs',
                /** other overrides can be set e.g. fontSize, fontFamily, fontLigatures etc.
                 * for the full list, see https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.istandaloneeditorconstructionoptions.html
                 */
                fontSize: 14,
                //fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace",
                fontFamily: "Consolas, 'Courier New', monospace",
                fontLigatures: false,
                colorDecorators: true,
                dragAndDrop: true,
                linkedEditing: true,
                minimap: {
                    enabled: false,
                },
                mouseWheelZoom: true,
                showFoldingControls: 'always',
                useTabStops: true,
            },
        },

}

```

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2021 19:25 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/63 "2021-06-12T19:25:37Z")

</div>

> [@JoseGodinho](#):
>
> see my config file

Your config doesn't quite look right.  
Compare it with mine...

```auto
 // Customising the editor
    editorTheme: {
        codeEditor: {
                lib: "monaco",
                options: {
                        theme: "vs-dark",
                        fontSize: 14,
                        fontFamily: "Consolas, 'Courier New', monospace",
                        fontLigatures: false,
                        colorDecorators: true,
                        dragAndDrop: true,
                        linkedEditing: true,
                        minimap: {
                                enabled: false,
                                },
                        mouseWheelZoom: true,
                        showFoldingControls: 'always',
                        useTabStops: true
                        }
                }
	  },

```

See the [revised settings.js file](https://github.com/node-red/node-red/blob/4acb66fb7a4c50ba237248ac61b20f0472526d08/packages/node_modules/node-red/settings.js#L344-L365) where the required layout is detailed.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2021 19:39 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/64 "2021-06-12T19:39:15Z")

</div>

@JoseGodinho - I see that you have just re-edited your post above and made a number of changes to that post...  
Why?

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [12 June 2021 21:55 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/65 "2021-06-12T21:55:51Z")

</div>

I just posted one time ....

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [12 June 2021 22:05 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/66 "2021-06-12T22:05:40Z")

</div>

If you look at the edit history of the post, Steve edited to fix the code formatting. No material changes were made.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2021 22:40 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/67 "2021-06-12T22:40:31Z")

</div>

> [@knolleary](#):
>
> Steve edited to fix the code formatting

Hhmm strange.  
The post has been changed again from when I last saw it at 8.39pm!!  
When I checked it earlier, the post had been edited to show the correct syntax....  
@Steve-Mcl did you make 2 changes to the post within a short timeframe? (discourse does not record every change in the history within a certain time frame).

@JoseGodinho - Apologies, is your problem now resolved?

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [12 June 2021 22:47 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/68 "2021-06-12T22:47:20Z")

</div>

@Paul-Reed - no hard feelings.

Back to the issue at hand.  
I updated node red as per this thread, but the settings.js file did not appear complete, so I to copy some of the config file from this thread as well.

Now I just copy the settings from github and I am trying to get monaco to work.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2021 22:51 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/69 "2021-06-12T22:51:20Z")

</div>

> [@JoseGodinho](#):
>
> Now I just copy the settings from github

Yes, I am going to do the same. 👍

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [12 June 2021 22:55 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/70 "2021-06-12T22:55:40Z")

</div>

Hello  
something is strange the lines below, are not the link shared ..  
_colorDecorators: true,_

```auto
* dragAndDrop: true,*
* linkedEditing: true,*
* minimap: {*
* enabled: false,*
* },*
* mouseWheelZoom: true,*
* showFoldingControls: 'always',*
* useTabStops: true*
* }*
* }*

```

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2021 23:05 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/71 "2021-06-12T23:05:41Z")

</div>

Sorry, what do you mean by 'link shared'?  
The monaco options are lsted - [IStandaloneEditorConstructionOptions | Monaco Editor API](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.istandaloneeditorconstructionoptions.html)

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [12 June 2021 23:08 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/72 "2021-06-12T23:08:22Z")

</div>

This one

_See the [revised settings.js file](https://github.com/node-red/node-red/blob/4acb66fb7a4c50ba237248ac61b20f0472526d08/packages/node_modules/node-red/settings.js#L344-L365) where the required layout is detailed._

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2021 23:12 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/73 "2021-06-12T23:12:01Z")

</div>

> [@JoseGodinho](#):
>
> See the [revised settings.js file](https://github.com/node-red/node-red/blob/4acb66fb7a4c50ba237248ac61b20f0472526d08/packages/node_modules/node-red/settings.js#L344-L365)

Not all of the options are shown in the settings.js comments, see [IStandaloneEditorConstructionOptions | Monaco Editor API](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.istandaloneeditorconstructionoptions.html) for the full list

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [12 June 2021 23:14 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/74 "2021-06-12T23:14:05Z")

</div>

Got it . I will rest my case until you boffins figure it out ...

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [12 June 2021 23:24 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/75 "2021-06-12T23:24:45Z")

</div>

The settings I put in my example all work fine.

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [12 June 2021 23:36 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/76 "2021-06-12T23:36:14Z")

</div>

Hello

I have tried them .... don't work for me..

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 June 2021 08:29 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/77 "2021-06-13T08:29:20Z")

</div>

> [@JoseGodinho](#):
>
> I can open a already written function, cannot write, be it in a function or any other text input.

Do you mean you cannot type in the editor space?  
Could you look in your browsers console for errors? (see [this how-to](https://balsamiq.com/support/faqs/browserconsole/))

Also, are you using any browser add-ins (like adblock or lastpass or uBlock etc)?

  

> [@JoseGodinho](#):
>
> in the function node, on the upper left corner, a shadow appears but and some "noise".

can you provide a screenshot of this?

  

> [@JoseGodinho](#):
>
> see my config file

Lets start simple

1. change your settings.js config to just the minimum required

```auto
     codeEditor: {
         lib: "monaco",
         options: {
             theme: "vs",
         }
     }

```

2. Save & close settings.js
3. Restart node-red
4. clear browser cache ([safari](https://www.macworld.co.uk/how-to/clear-safari-cache-3496193/), [chrome](https://clear-my-cache.com/en/windows/google-chrome.html))
5. load node-red editor & check

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [13 June 2021 09:01 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/78 "2021-06-13T09:01:14Z")

</div>

> [@Steve-Mcl](#):
>
> - clear browser cache ([safari](https://www.macworld.co.uk/how-to/clear-safari-cache-3496193/), [chrome](https://clear-my-cache.com/en/windows/google-chrome.html))
> - load node-red editor & check

One other thing to try - an in-private browsing session which will have no cache and no browser extensions loaded.

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [13 June 2021 09:50 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/79 "2021-06-13T09:50:13Z")

</div>

Also check whether you have the `node-red-contrib-zigbee2mqtt` loaded as this caused me the same problem

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 June 2021 09:55 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/80 "2021-06-13T09:55:13Z")

</div>

Jeff, did you manage to resolve this by removing that node?

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [13 June 2021 11:15 UTC](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/81 "2021-06-13T11:15:47Z")

</div>

1- ( I tried in several browsers, windows ( Chrome) mac ( Safari,Chrome)  
2- Flushed all historic,cookies, cache ....  
3- navigated _incognito_  
4- Screen Shots ..  
4.1 Trying to type.

 ![Screenshot 2021-06-12 at 16.53.43](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cd612fe4695c5149217859d41473a93f62908e22.png)

4.2 Opened an existing file

 ![Screenshot 2021-06-12 at 16.55.38](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/5/2543f4ea9b5c1deddc4ee3ed32fd20005c4a8835.png)

I will no try to remove zigebee2mqtt.

[Previous page](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990.md?page=3)

[Next page](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990.md?page=5)
