mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-27 02:06:16 -04:00
send message: prevent insertion of formatted text; send text on CTRL+Enter / CMD+Enter
This commit is contained in:
parent
57851902f9
commit
5c5fb2db0d
2 changed files with 18 additions and 16 deletions
|
@ -152,7 +152,7 @@
|
|||
<x-background class="full center">
|
||||
<x-paper shadow="2">
|
||||
<h3>Send a Message</h3>
|
||||
<div id="textInput" class="textarea" role="textbox" placeholder="Send a message" autocomplete="off" autofocus contenteditable></div>
|
||||
<input id="textInput" class="textarea w100" role="textbox" placeholder="Send a message" autocomplete="off" autofocus contenteditable>
|
||||
<div class="row-reverse">
|
||||
<button class="button" type="submit" close>Send</button>
|
||||
<a class="button" close>Cancel</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue