Insert at the caret, line breaks and controls, the maximum length and surrogate pair boundaries, a clipboard of megabytes, invalid UTF-8, a paste while no dialog captures the keyboard and while a composition is shown.