Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

getTextAfterSelection

Returns the text after the selection.

Last updated: