fix(@desktop/chatInput) Pasting text with emoji was invisible
When text from clipboard that contained any emoji was pasted in the chat input it was becoming invisible Closes #3291
This commit is contained in:
parent
4916b8f552
commit
1557996cbc
|
@ -358,7 +358,7 @@ Rectangle {
|
|||
// we can only get it in the `released` event
|
||||
if (paste) {
|
||||
paste = false;
|
||||
const plainText = messageInputField.getText(0, messageInputField.length);
|
||||
const plainText = messageInputField.getFormattedText(0, messageInputField.length);
|
||||
messageInputField.remove(0, messageInputField.length);
|
||||
insertInTextInput(0, plainText);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue