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

Starting a codeblock and pressing enter should not send a message #599

Closed
mitar opened this issue Aug 27, 2015 · 10 comments
Closed

Starting a codeblock and pressing enter should not send a message #599

mitar opened this issue Aug 27, 2015 · 10 comments

Comments

@mitar
Copy link
Contributor

mitar commented Aug 27, 2015

Starting a codeblock with ``` and pressing enter should not send a message but allow you to continue writing the code.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@rockneverdies55
Copy link

What about Shift + Enter instead of Enter not to send the message?

@mitar
Copy link
Contributor Author

mitar commented Aug 27, 2015

Shift + Enter works, but it is a really nice goody to automatically detect ```. At least Slakck does it like that.

@graywolf336
Copy link
Contributor

@mitar Are you sure slack does it like that? I haven't experienced it... Is that one desktop, mobile, or web browser?

@mitar
Copy link
Contributor Author

mitar commented Aug 28, 2015

I have it in Slack under Advanced Options on Desktop version: "When typing code with ```, ENTER should not send the message. *"

@graywolf336
Copy link
Contributor

Interesting, never knew that. That is a good thing to have

@xmclark
Copy link

xmclark commented May 16, 2017

Looks like this hasn't been touched in awhile. Is this open for pull requests? I would be interested in implementing this feature.

@graywolf336
Copy link
Contributor

@xmclark Go for it!

@xmclark
Copy link

xmclark commented May 18, 2017

@graywolf336 awesome. I cloned the project and am poking around, getting familiar with the architecture. I need to sign the developer agreement, but that should be easy. I will mark this issue as progressing. Actually just checked the docs, and it says that somebody will mark it as progressing.

@mitar suggested that Slack has an option in the Preferences that turns this feature on. Unless anybody has an issue with that, I'm going to mimic that behavior.

@graywolf336
Copy link
Contributor

@xmclark How's the progress going?

@docsncode
Copy link

Currently we support multiline messages by pressing CTRL+Enter. This enhancement is not on our short term roadmap. We will revisit it the future.

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

No branches or pull requests

8 participants