# RED.tabs - any way to disable some tabs?

**URL:** <https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257>\
**Category:** Developing Nodes\
**Created:** [15 October 2021 10:19 UTC](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257 "2021-10-15T10:19:59Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [15 October 2021 10:19 UTC](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257/1 "2021-10-15T10:19:59Z")

</div>

Hi node creators! I'm looking for a way to disable (but not remove/hide) some tabs in the new layout of the uibuilder Editor panel.

This is because, when you add a new uibuilder node, you need to deploy it before you do things like edit front-end code (which of course does not yet exist until first deployment).

I've tried a few things such as marking the various elements disabled and trying to stop clicks in the links but I've not got anything to work as yet.

Any ideas?

---

<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:** [15 October 2021 10:39 UTC](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257/2 "2021-10-15T10:39:03Z")

</div>

Maybe apply a class with `pointer-events: none;` to the outer div or individual elements?

---

<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:** [15 October 2021 10:43 UTC](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257/3 "2021-10-15T10:43:16Z")

</div>

Ah, that might do it, I'll give it a go, thanks Steve.

---

<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:** [15 October 2021 11:31 UTC](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257/4 "2021-10-15T11:31:04Z")

</div>

> [@Steve-Mcl](#):
>
> pointer-events

Thanks Steve, that did the trick.

---

<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:** [29 October 2021 11:31 UTC](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257/5 "2021-10-29T11:31:33Z")

</div>

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