Disallow rich text in the ssb compose box.

This commit is contained in:
Cory McWilliams 2024-07-22 14:42:37 -04:00
parent 3ebc6f2436
commit b53bf0ff64
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🐌", "emoji": "🐌",
"previous": "&TqpkOAi38Oi6gW6guh95KIvWY2M/vjBE8NLLNHK+M00=.sha256" "previous": "&2xK//SIpjFb0+uT5I7MSAGJ3d1FKuI/rlzhcCQd3NME=.sha256"
} }

View File

@ -538,7 +538,7 @@ class TfComposeElement extends LitElement {
id="edit" id="edit"
@input=${this.input} @input=${this.input}
@paste=${this.paste} @paste=${this.paste}
contenteditable contenteditable="plaintext-only"
.innerText=${live(draft.text ?? '')} .innerText=${live(draft.text ?? '')}
></span> ></span>
</div> </div>