Back to API Reference
Class

PlainTextClipboardAdapter

sealed

Universal-floor clipboard adapter. Writes the selection as PlainText on copy and accepts plain text on paste. Always registered on every UniTextEditable; integrators rarely need to remove or replace it — it is the format every external clipboard consumer understands, the guaranteed last-resort path for both directions.

Remarks

Priority is 0: every richer adapter wins on paste when its format is present, and falls back to this one when nothing better is available. On copy the payload is exactly the text visible inside the selection. Rich channels independently carry the canonical visible text and formatting spans.
public ClipboardFormat Format{ get }
public int Priority{ get }
public string SerializeCopy()
public ClipboardPasteContent DeserializePaste()
public static readonly PlainTextClipboardAdapter Instance

Shared stateless instance. The adapter holds no per-editor state.