# Syntax Highlighting gone

**URL:** <https://discourse.nodered.org/t/syntax-highlighting-gone/54201>\
**Category:** General\
**Created:** [24 November 2021 08:07 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201 "2021-11-24T08:07:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chorum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chorum/32/47644_2.png) [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Post date:** [24 November 2021 08:07 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/1 "2021-11-24T08:07:54Z")

</div>

Hello,

as i opened my first function node today, i realized that the javascript highlighting was gone.  
Its like there no syntax detection. no automatic "",() and so on.

Is there a way to get it back ?

Greetings  
Chorum

---

<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:** [24 November 2021 08:13 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/2 "2021-11-24T08:13:11Z")

</div>

If node red is not running in the background and the browser is already open, you will still see node-red editor but the necessary files will not be served. Refresh your browser and check that node-red is actually running.

Also are you using ace or Monaco?

Lastly, could you check the browser's console for errors?

---

<div class="post-metadata">

**Author:** ![Chorum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chorum/32/47644_2.png) [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Post date:** [8 December 2021 06:12 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/3 "2021-12-08T06:12:06Z")

</div>

Hi there,  
after the next Restart the problem was gone.

Thank You!

---

<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:** [8 December 2021 09:37 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/4 "2021-12-08T09:37:35Z")

</div>

Would have been useful to answer the questions (to understand the issue and whether there is a fix we need to implement)

Nevermind, glad you're up and running.

---

<div class="post-metadata">

**Author:** ![Chorum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chorum/32/47644_2.png) [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Post date:** [8 December 2021 09:40 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/5 "2021-12-08T09:40:38Z")

</div>

I am not using ace or Monaco.  
I didnt check the browser console for errors at that time, can not say if there was an entry. Sorry

---

<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:** [8 December 2021 11:03 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/6 "2021-12-08T11:03:36Z")

</div>

> [@Chorum](#):
>
> I am not using ace or Monaco

You will definitely be using one or the other. The text editor inside a function node will be either ACE or Monaco

Also, you didn't say if node-red had stopped/crashed.

---

<div class="post-metadata">

**Author:** ![Chorum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chorum/32/47644_2.png) [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Post date:** [8 December 2021 11:08 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/7 "2021-12-08T11:08:41Z")

</div>

As i remember the Node Red hasnt stopped/crashed.  
How do i find out which editor is active? If ace is standard i would say its ace.

---

<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:** [6 February 2022 11:08 UTC](https://discourse.nodered.org/t/syntax-highlighting-gone/54201/8 "2022-02-06T11:08:51Z")

</div>

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