docs/solutions/best-practices/2026-05-09-inline-link-harvest-rows-need-link-policy-boundaries.md
Lexical link tests are tempting to copy directly, but several rows are product or link-plugin policy rather than generic editor behavior. Porting all of them would make Slate core encode a link-specific paste rule that belongs in an app or plugin.
inlines.test.ts,
clipboard-contract.ts, and future link-plugin policy.Split the rows by ownership:
The Slate coverage added:
.tmp/slate-v2/playwright/integration/examples/inlines.test.ts: browser proof
for plain-text and rich-HTML paste at inline-link boundaries..tmp/slate-v2/packages/slate/test/clipboard-contract.ts: package proof for
partial inline-link fragment copy/paste.Slate core owns inline structure, fragment insertion, and browser boundary
behavior. It does not own a universal "links should stop absorbing pasted
content" rule because link is schema/plugin meaning, not a primitive text
law.
This keeps generic coverage strong without hardcoding app-level link semantics.
type: 'link' unless a public
link-plugin owner is explicitly accepted.