Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Allow ctrl + enter to send the post #32

Open
protodrew opened this issue Feb 1, 2022 · 3 comments
Open

Proposal: Allow ctrl + enter to send the post #32

protodrew opened this issue Feb 1, 2022 · 3 comments

Comments

@protodrew
Copy link

I do it a ton unconsciously because it exists in mastodon. Might be nice but Idk how complex it might be.

@Thomasorus
Copy link
Contributor

Since it’s a progressive enhancement that may be doable without affecting the rest of the forum, what do you think @cblgh ?

@cblgh
Copy link
Owner

cblgh commented Feb 7, 2022

@Thomasorus yes! this is ofc something we can add :) rn i'm just ambiently mulling about the strategy for progressive enhancements, such that they will improve things without increasing the maintenance burden (e.g. needing to be updated or breaking down the line)

@milofultz
Copy link

milofultz commented Dec 24, 2023

heyo, I'm bored at christmas and wondering if I can kick around with this and see if it works? I haven't set up a dev environment yet, so I'll see how far I get with that first. But this seems like something you could do by creating a template HTML file with a script that makes an event listener that focuses on textarea elements within form elements, and then including that at the bottom of the thread and new-thread templates.

Edit: this was fairly trivial, so I just made a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants