setTypingAttribute

fun <T> setTypingAttribute(key: <Error class: unknown class><T>, value: T)

Adds or overwrites a single attribute in the current typing attributes. Has no effect when a text range is selected (non-collapsed selection).

See also