Back to API Reference
Enum
PlainTextPastePolicy
How a UniTextEditable interprets plain-text paste — the only channel whose markup-vs-literal intent is unknown because the format carries no semantic spans.
public static readonly PlainTextPastePolicy Auto = 0Pick by MarkupVisibility: Raw parses, every other mode is literal.
public static readonly PlainTextPastePolicy Literal = 1Insert verbatim — markup characters become literal text, never parsed.
public static readonly PlainTextPastePolicy Parse = 2Reparse with this field's own rules, as if the text were typed.
