ssb: Disallow rich text paste on Firefox. Didn't realize it doesn't support contenteditable='plaintext-only'.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 15m1s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 15m1s
This commit is contained in:
parent
1dd7e4347c
commit
581f72b3f8
@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🐌",
|
||||
"previous": "&tttJtdqA+iHWYVzZzA8jQdghIFjoVVO/2t6kHqCLnZI=.sha256"
|
||||
"previous": "&CsZ2FBYY9awXNPPHAhTlrOHuKlGU6RXZJ3UTV3UQRIE=.sha256"
|
||||
}
|
||||
|
@ -180,6 +180,9 @@ class TfComposeElement extends LitElement {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
document.execCommand('insertText', false, event.clipboardData.getData('text/plain'));
|
||||
}
|
||||
|
||||
async submit() {
|
||||
|
Loading…
Reference in New Issue
Block a user