mmmexplorer

OBSERVED MMM COMMIT #278

Copy nodes to the clipboard in two representations

mmm-observation:sha256:9cbab21722dd3527e14b3f50148cb016e7fdbd847a6bba3e440cd0edb366e110

Signed revision

Revision ID
mmm-revision:sha256:417ab54af83c8984a80fb89d7aa2dee712cf2ce3ca29c77e03395e1915b84ec9
Backend
Git
Issued
2026-08-29 05:43:35 UTC
Manifest
mmm-manifest:sha256:0d80fae79fbd108457707f5fe5ebd109df0dfab529e3d5ad3fe24c2d26d60462

CANONICAL RECORD VIEW

Revision payload

{
  "backend": {
    "author": {
      "email": "drschwabe@fastmail.com",
      "name": "Derrick Schwabe",
      "time": 1787982215
    },
    "commit": "git:sha1:910a73d5f8b9fb9d186aa8f6bad304e8e9c5a6dd",
    "committer": {
      "email": "drschwabe@fastmail.com",
      "name": "Derrick Schwabe",
      "time": 1787982215
    },
    "manifest": "mmm-manifest:sha256:0d80fae79fbd108457707f5fe5ebd109df0dfab529e3d5ad3fe24c2d26d60462",
    "message": "Copy nodes to the clipboard in two representations\n\nCTRL+C now puts the node's contents on the system clipboard — a note's text,\nan image node's raw image — so it pastes into other programs. Alongside it\ngoes a JSON payload describing the whole node, which CTRL+V inside nodemesh\nreads back, restoring the type and every property.\n\nThe payload travels on the clipboard rather than in a variable, so copying\nsomething else in another program takes it away. The old in-memory copiedNode\nwould happily paste a node long after the clipboard had moved on.\n\nAn image cannot go on the clipboard with setData, so a copy containing one\ngoes through navigator.clipboard.write with image/png, text/plain and the\npayload in a single ClipboardItem — Chrome only carries custom formats when\nthey are web-prefixed.\n\nCopying several nodes keeps the connections between them, rewired to the new\nids; connections pointing outside the copy are dropped.",
    "objectFormat": "sha1",
    "parents": [
      "git:sha1:868940aa3299eee73b76bba93a23501005814d04"
    ],
    "ref": "refs/heads/master",
    "summary": "Copy nodes to the clipboard in two representations",
    "tree": "git:sha1:4f28fa5d7fa2055013f005540012619dbc2c33e5",
    "type": "git"
  },
  "issuedAt": "2026-08-29T07:25:37.127Z",
  "previous": "mmm-revision:sha256:df349048e2bbeb8074f15b1fc492293ec235208eac7436c3721b6250735e2dd6",
  "project": "mmm1np06566gf6u8fpyj84u2emf25l98qad36700d2nlep6jzqdknp8qkyd3xu",
  "protocol": "mmm/0-alpha",
  "sequence": 17,
  "type": "mmm/revision"
}