Copying long content in editor

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:

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?

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

What OS is the browser running on?

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?

Browser OS is Windows 10 Home 22H2 19045.4717

Monaco


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.

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

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

1 Like

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