Notion: tracing the Electron rich-text clipboard bridge
Target: Notion Desktop 7.6.1 app.asar and a web-editor module cached at a different time
Author / attribution: REA showcase team; original project authors credited in sources
Source review date:
Review status: Sources reviewed; author tests not independently rerun.
The question
How does a web editor write rich text through the desktop clipboard?
What REA did
REA statically analyzes the tab preload to locate the context bridge and IPC invocation. Direct reading of bundled code fills in the clipboard API, channels and main-process receiver.
Author-reported results
The showcase explains renderer → preload → IPC → main at source level and demonstrates rich-text markers and Markdown tables in an independent module probe.
Limitations and unverified claims
The REA graph did not automatically resolve the full clipboard-channel chain. The web editor and desktop package are not matching runtime samples; real copy/paste was not captured on the same version.
What to learn
Separate structures returned by REA, conclusions from manual code reading and results from independent probes.
REA usage evidence in the source
The published npm REA 4.1.0 package inspected the saved tab preload on 7 October 2026Excerpt formatting is simplified. Read the original source for full context.
Original sources
Independent editorial summary. Credit belongs to the original authors. Target software, installers and complete decompiler output are not redistributed here.