fix: code review
This commit is contained in:
parent
21176f702f
commit
7178ae5910
|
@ -196,9 +196,8 @@ Rectangle {
|
||||||
paste = false;
|
paste = false;
|
||||||
|
|
||||||
// Remove format
|
// Remove format
|
||||||
const cursor = messageInputField.cursorPosition;
|
messageInputField.text = Emoji.parse(chatsModel.plainText(Emoji.deparse(messageInputField.text)).replaceAll("\n","<br />"))
|
||||||
messageInputField.text = Emoji.parse(chatsModel.plainText(Emoji.deparse(messageInputField.text)));
|
messageInputField.cursorPosition = messageInputField.length;
|
||||||
messageInputField.cursorPosition = cursor;
|
|
||||||
|
|
||||||
interrogateMessage();
|
interrogateMessage();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue