# How can I add the expand button to a monaco editor widget?

**URL:** <https://discourse.nodered.org/t/how-can-i-add-the-expand-button-to-a-monaco-editor-widget/97112>\
**Category:** Developing Nodes\
**Created:** [17 May 2025 23:56 UTC](https://discourse.nodered.org/t/how-can-i-add-the-expand-button-to-a-monaco-editor-widget/97112 "2025-05-17T23:56:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllanOricil](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/allanoricil/32/106911_2.png) [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Post date:** [17 May 2025 23:56 UTC](https://discourse.nodered.org/t/how-can-i-add-the-expand-button-to-a-monaco-editor-widget/97112/1 "2025-05-17T23:56:17Z")

</div>

How can I add the expand button to a monaco editor widget?

---

<div class="post-metadata">

**Author:** ![AllanOricil](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/allanoricil/32/106911_2.png) [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Post date:** [18 May 2025 00:17 UTC](https://discourse.nodered.org/t/how-can-i-add-the-expand-button-to-a-monaco-editor-widget/97112/2 "2025-05-18T00:17:37Z")

</div>

Never mind. I learned how to do it reading the core function node code.

---

<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 June 2025 00:18 UTC](https://discourse.nodered.org/t/how-can-i-add-the-expand-button-to-a-monaco-editor-widget/97112/3 "2025-06-01T00:18:21Z")

</div>

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