Add copy/pasting of nodes to/from clipboard in JSON#560
Merged
Zehir merged 6 commits intogaea-godot:2.0from Feb 15, 2026
Merged
Add copy/pasting of nodes to/from clipboard in JSON#560Zehir merged 6 commits intogaea-godot:2.0from
Zehir merged 6 commits intogaea-godot:2.0from
Conversation
BenjaTK
requested changes
Jan 11, 2026
BenjaTK
reviewed
Feb 1, 2026
cullumi
previously requested changes
Feb 9, 2026
Collaborator
There was a problem hiding this comment.
A couple things:
I can't actually seem to get it to put anything into my clipboard.- Could this be part of normal Ctrl-C / Ctrl-V behavior? I realize there'd be a slight conflict between the editor's "clipboard" and the system's clipboard, though I suspect that could be resolved.
- A "Ctrl-Shift-C / Ctrl-Shift-V" shortcut or similar might be nice, otherwise.
Collaborator
Author
It could but we already talk about this on discord if I remember correctly and we don't want to mess with the clipboard with the ctrl+c and ctrl+v shorcuts. We can still add shorcuts with #562 later |
Collaborator
|
I like Ctrl+Shift+V/C for the shortcuts. We can add them in #562 though. |
Collaborator
|
Just saw this:
|
BenjaTK
requested changes
Feb 15, 2026
Co-authored-by: BenjaTK <73806216+BenjaTK@users.noreply.github.com>
Co-authored-by: BenjaTK <73806216+BenjaTK@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR add the ability to copy/paste nodes to string that can be shared on discord or other media.

It's based on the idea of Factorio blueprints.
You just select node and click Copy to clipboard
And you will get a string in the clipboard like this :
{"origin":"(740.0, 80.0)","nodes":{"6":[0,{"arguments":{"material":null,"reference_data":{},"rules":{"(0, -1, 0)":false,"(0, 0, 0)":true}},"position":"(740.0, 80.0)","salt":581472843,"type":0,"uid":"uid://br8gcsyc04ksj"}]},"connections":[]}Then when you can paste nodes from the clipboard like usual node pasting.
I also had to remove the add node popup by default on the right click for 2 reasons;
Like currently copy/paste node, the material resource is not copied but I guess we can change that in the future