Back to API Reference
Class
UniTextSourceClipboardAdapter
sealed
Inherits:IClipboardAdapter
Native UniText round-trip adapter. Carries the selection as a structured UniTextClipboardFragment (visible text + markup spans keyed by modifier Signature) under UniTextSource (application/vnd.lightside.unitext, RFC 6838 vendor tree).
Remarks
Fidelity is semantic, not byte-for-byte: copy records the attributed document's visible text and persistent spans; paste resolves each span directly to the destination modifier and rule, dropping it to plain text when the destination has no such modifier and never leaking raw tags. Inline objects round-trip as a one-character Object Replacement Character span. Priority is 100, above HTML (50) and Markdown (40): UniText → UniText keeps the native fragment. External apps that do not recognise the format fall back to PlainTextClipboardAdapter.
public ClipboardFormat Format{ get }public ClipboardPasteContent DeserializePaste()public static readonly UniTextSourceClipboardAdapter InstanceShared stateless instance. Map building reads the editor passed in via context.
