From b53bf0ff6484f15e6c62bc097c79116398d8a5fc Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 22 Jul 2024 14:42:37 -0400 Subject: [PATCH] Disallow rich text in the ssb compose box. --- apps/ssb.json | 2 +- apps/ssb/tf-compose.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index aca58ab4..95c75517 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&TqpkOAi38Oi6gW6guh95KIvWY2M/vjBE8NLLNHK+M00=.sha256" + "previous": "&2xK//SIpjFb0+uT5I7MSAGJ3d1FKuI/rlzhcCQd3NME=.sha256" } diff --git a/apps/ssb/tf-compose.js b/apps/ssb/tf-compose.js index 6b1d5d31..50fa562c 100644 --- a/apps/ssb/tf-compose.js +++ b/apps/ssb/tf-compose.js @@ -538,7 +538,7 @@ class TfComposeElement extends LitElement { id="edit" @input=${this.input} @paste=${this.paste} - contenteditable + contenteditable="plaintext-only" .innerText=${live(draft.text ?? '')} >