DEV-52916 - Implement proper text editing/selection