matrix-react-sdk
be3ef2b5 - Remove all text when cutting in the composer

Commit
5 years ago
Remove all text when cutting in the composer The previous function did in fact remove the elements, but left the model thinking there was a zero-length string. This approach deletes the text from the model and the DOM, resulting in the placeholder being shown when cutting all the text. Part of https://github.com/vector-im/riot-web/issues/11378
Author
Parents
Loading