# Copying long content in editor

**URL:** https://discourse.nodered.org/t/copying-long-content-in-editor/90201
**Category:** General
**Created:** [15 August 2024 17:39 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201 "2024-08-15T17:39:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [15 August 2024 17:39 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/1 "2024-08-15T17:39:37Z")

</div>

It seems I am unable to copy long content from nodes in the editor without it being abbreviated.  
Node-RED: version 4.0.2  
Browser: Firefox version 129.0.1

I am able to copy long content from other tabs/urls (not Node-RED) in the same browser.  
I have tried Node-RED instances running on different hardware, same result.

What it looks like when I try to paste:

```auto
msg.payload = "code example";…some more code…the rest of the code

```

With large sections abbreviated with the `…`.

Any ideas whats going on or how to fix it?

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [15 August 2024 17:46 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/2 "2024-08-15T17:46:21Z")

</div>

Copy/paste seems to work as intended on Google Chrome and Microsoft Edge.

---

<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: [15 August 2024 18:41 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/3 "2024-08-15T18:41:05Z")

</div>

What OS is the browser running on?

---

<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 August 2024 19:51 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/4 "2024-08-15T19:51:23Z")

</div>

> [@HaroldPetersInskipp](#):
>
> With large sections abbreviated with the `…`.

Are you using the ACE or Monaco editor?

Can you show a screenshot?

Can you tell use the exact steps?

Is the ellipsis clickable and what happens if you do click it?

Why is your code all on one line?

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [15 August 2024 20:14 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/5 "2024-08-15T20:14:33Z")

</div>

Browser OS is Windows 10 Home 22H2 19045.4717

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [15 August 2024 20:23 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/6 "2024-08-15T20:23:38Z")

</div>

Monaco

![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/1/41052d97e3609cbc0015f25f4fd82b300da2b1c4.gif)  
It happens if I use keyboard shortcuts or context menus to copy and paste.

No it is not clickable.

On one line for the sake of a shorter example.

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [15 August 2024 20:54 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/7 "2024-08-15T20:54:27Z")

</div>

I tried updating to Windows 10 Home 22H2 19045.4780 and restarting PC, but issue persists.

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [15 August 2024 21:06 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/8 "2024-08-15T21:06:05Z")

</div>

Found the culprit, an installed userscript was interfering with the copy/paste functionality.

---

<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 August 2024 21:06 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201/9 "2024-08-29T21:06:26Z")

</div>

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