Closed Ppjet6 closed 1 year ago
This point of view has been discussed for many times 😉 But with time I consider Shift+Enter a good way of adding new line.
Can you confirm that Shift
+Enter
does not add new line? It was the expected behavior 😞
See https://github.com/nioc/xmpp-web/issues/54#issuecomment-1141390881
true
:Control
+Enter
andEnter
send message,Shift
+Enter
add new linefalse
:Control
+Enter
send message,Enter
andShift
+Enter
add new line
I just checked, it works as expected for me (Firefox 109).
I close the issue, feel free to reopen it if yours users encounter issue with Shift
+Enter
for new line.
I was persuaded there was no way to do so. Sorry for the bother! Shift+Enter works indeed.
Disclaimer: I am not a user of xmpp-web myself. We've deployed it on joinjabber.org from the start and it's been of great help to our users. Thanks for developing and maintaining the project!
Is your feature request related to a problem? Please describe. In many of the clients I use, Enter is used to send. I felt users would be more used to this behaviour and so I set
hasSendingEnterKey
totrue
. But I realized there is no way to insert newlines anymore as it seems Ctrl+Enter is always used to send.Describe the solution you'd like One way to insert newlines when Enter is used to send.
Describe alternatives you've considered
hasSendingEnterKey
,Shift+Enter seems to be used in other clients such as ConverseJS, Dino, etc.