# Unable to edit function nodes after update (only with Monaco; ace works fine)

**URL:** https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169
**Category:** General
**Created:** [17 October 2022 19:47 UTC](https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169 "2022-10-17T19:47:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![JorisKingma](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joriskingma/32/69320_2.png) [@JorisKingma](https://discourse.nodered.org/u/JorisKingma)
#### Post date: [17 October 2022 19:47 UTC](https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169/1 "2022-10-17T19:47:30Z")

</div>

After upgrading from an older version of NR I am unable to edit function nodes. This behaviour is only present when using the monaco editor. When changing to the ace editor I'm perfectly able to alter the code in the nodes.

Some details:

- I upgraded my Raspberry Pi 3 Node-RED using the script as recommended: [Running on Raspberry Pi : Node-RED](https://nodered.org/docs/getting-started/raspberrypi) with the addition of "--node14".
- After upgrading again using the same script but with the addition "--node16" nothing noticable changed.
- This behaviour is present on both existing and new function nodes.
- Deploying altered flows works without issues.
- Apart from this issue, Node-RED functions perfectly.
- Verbose (trace) log outputs does not show anything suspicious.
- Using projects (a single project)

What could be the issue here?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [17 October 2022 19:59 UTC](https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169/2 "2022-10-17T19:59:54Z")

</div>

Welcome to the forum @JorisKingma

What browser and version are you using? Can you try a different browser?

---

<div class="post-metadata">

### Author: ![JorisKingma](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joriskingma/32/69320_2.png) [@JorisKingma](https://discourse.nodered.org/u/JorisKingma)
#### Post date: [17 October 2022 20:11 UTC](https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169/3 "2022-10-17T20:11:15Z")

</div>

I'm using Chrome (Windows 10). However, when using Edge, the problem persists.  
I did not have this issue prior to upgrading.

---

<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: [17 October 2022 20:20 UTC](https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169/4 "2022-10-17T20:20:29Z")

</div>

> [@JorisKingma](#):
>
> After upgrading from an older version of NR I am unable to edit function nodes

This is an old problem.

When monaco was first released, we noticed a hand full of contrib nodes were using an old (bad) version of something called `multiple-select.js` - where the user could not type.

> [@tada Node-RED 2.0 Released](https://discourse.nodered.org/t/node-red-2-0-released/48647/43):
>
> This is a known issue with an prototype polution caused by other nodes. See this thread: [tada Node-RED 2.0.0-beta.1 Released - #84 by Botched1](https://discourse.nodered.org/t/node-red-2-0-0-beta-1-released/46990/84) Do you have any of these nodes installed... [node-red-contrib-deconz-test-zehir](https://www.npmjs.com/package/node-red-contrib-deconz-test-zehir) - [issue raised](https://github.com/deconz-community/node-red-contrib-deconz/issues/140) - fixed in v1.3.3 [node-red-contrib-defaro](https://www.npmjs.com/package/node-red-contrib-defaro) - [issue raised](https://github.com/bkorda/node-red-contrib-defaro/issues/1)[node-red-contrib-zigbee2mqtt](https://www.npmjs.com/package/node-red-contrib-zigbee2mqtt) - [issue raised](https://github.com/andreypopov/node-red-contrib-zigbee2mqtt/issues/41) - fixed in v0.6.9 [node-red-contrib-wirenboard](https://www.npmjs.com/package/node-red-contrib-wirenboard) - [issue raised](https://github.com/andreypopov/node-red-contrib-wirenboard/issues/2) - fixed in v3.5.1 [node-red-contrib-deconz](https://www.npmjs.com/package/node-red-contrib-deconz) - [Issue raised](https://github.com/deconz-community/node-red-contrib-deconz/issues/140) - fixed in v1.3.3 [node-red-con…](https://www.npmjs.com/package/node-red-contrib-zway)

You may have one of these node installed.

---

<div class="post-metadata">

### Author: ![JorisKingma](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joriskingma/32/69320_2.png) [@JorisKingma](https://discourse.nodered.org/u/JorisKingma)
#### Post date: [18 October 2022 16:56 UTC](https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169/5 "2022-10-18T16:56:13Z")

</div>

Deconz was the bad guy here; after updating the node (Hamburger menu at the top right \> Manage palette) the editor is fully functioning!

Thanks for the quick reply.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [1 November 2022 16:57 UTC](https://discourse.nodered.org/t/unable-to-edit-function-nodes-after-update-only-with-monaco-ace-works-fine/69169/6 "2022-11-01T16:57:02Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
