First time here? Check out the FAQ!
0

Don't post comment when pressing enter?
 

When someone enters a comment, if you press the enter key, the comment is posted.
Users unfamiliar with comments tend to try to use enter to break the line up, and this causes an incomplete comment to be posted.

Is there a way to change this to <enter> doesn't post the comment?
Should this be a configurable option? Some site might prefer this post on <enter> behavior.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago
Benoit's avatar
875
Benoit
asked 14 years ago

Comments

Will add an option, I think it's better to have a choice than force one way or another. I like being able to save comment on enter, especially because all comments are single paragraph (which may ask for another option).
Evgeny's avatar Evgeny (14 years ago)
I agree that an option is the way to go.
Benoit's avatar Benoit (14 years ago)
The default setting is "True" - because the comments are single paragraph and the linebreak is not needed. Also comment editor listens to <Esc> key - to exit.
Evgeny's avatar Evgeny (14 years ago)

Me also click "ever" enter to go on other line so i'd need to change this parameter :)

I Like AskBot's avatar I Like AskBot (12 years ago)
see more comments

1 Answer

1

This can be removed, it was actually a feature added on purpose. Apparently not everyone likes it.

The thing is that right now comments only accept one paragraph but I'll remove "Enter" handler.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
link

Comments

see more comments