How to customize commenting feature: Replace loading spinner and disable Enter key submission? Answered
Is it possible to change the commenting loader or delete it in entirety? I always get a green spinner in my commenting section which doesn't look great from a UI perspective...
Comments
5 comments
Ahhhh AJ! Lifesaver! I had been messing around with it and deleting them and then I realized there were two different loading spinners in the cloneable! Thanks so much, deleted them both 🙂
Hello, everyone! I have a question about commenting feature. Is there a way to prevent sending a comment by pressing Return (Enter) button when type in a form? I want to make posting possible only by pressing a submit button.
Hi Igor,
You can achieve this with Javascript. This script below when placed on the page, prevents the comment from being submitted when the "Enter" key is pressed.
If it didn't work. Try this
Hello, Chukwudi Onyekwere! Thank you so much! I will try the 2nd solution
Unfortunately the 1st solution didn’t work. The comment is still submitted. I guess that MS itself prevents the form from default behavior and uses submit as a trigger to create a post.
I will be happy to receive some further help. Here are my live url and share link.
https://test-ms-comments.webflow.io/
https://preview.webflow.com/preview/test-ms-comments?utm_medium=preview_link&utm_sourc[…]s&preview=49f87a76ea085c22cb1f280a57d096e8&workflow=preview
Please sign in to leave a comment.