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 = 0

Pick by MarkupVisibility: Raw parses, every other mode is literal.

public static readonly PlainTextPastePolicy Literal = 1

Insert verbatim — markup characters become literal text, never parsed.

public static readonly PlainTextPastePolicy Parse = 2

Reparse with this field's own rules, as if the text were typed.