From c911932d7728e4cf2cf29095c46b91e5185d1fcb Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Wed, 20 Aug 2025 15:04:19 -0500 Subject: [PATCH] Disable submit button when Lexical is empty --- app/assets/stylesheets/actiontext-lexical.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/actiontext-lexical.css b/app/assets/stylesheets/actiontext-lexical.css index c84a3d954..5f471eb1d 100644 --- a/app/assets/stylesheets/actiontext-lexical.css +++ b/app/assets/stylesheets/actiontext-lexical.css @@ -31,6 +31,12 @@ position: absolute; white-space: pre-line; } + + /* Disable the sublit button when Lexical is empty */ + + .comment__submit { + opacity: 0.5; + pointer-events: none; + } } }