docs/solutions/logic-errors/2026-04-03-slate-v2-clipboard-boundary-proof-must-split-fragment-semantics-and-dom-transport.md
While landing the slate-v2 clipboard-boundary proof, the first few attempts kept failing architect review for the same reason:
slate-v2 itselfThe proof only became stable after the boundary was split explicitly:
slate-v2 owns fragment meaning:
Editor.getFragment(editor)Transforms.insertFragment(editor, fragment, options?)slate-dom-v2 owns browser transport:
DataTransferIf DOM transport owns fragment meaning, the browser layer starts deciding what the editor document is.
If core owns MIME/HTML transport, the engine starts swallowing browser junk.
That blur already existed in legacy Slate across:
getFragment / insertFragment overridesThe proof stayed honest only after that blur was made explicit and then reduced.
For editor clipboard architecture:
If a clipboard proof cannot state those three lines cleanly, it is not done.