11

So today I was on Chinese Language and was posting a comment. After writing the comment, I pressed enter to post. However, a new line is inserted:

new line added

Then I went to Stack Overflow and posted a comment. This time, pressing enter did not add a new line. It did not add a new line on User Experience either.

Why? Bug?

  • I've always seen an "enter" insert a comment when I'm on a desktop computer, and insert a new line when I'm on mobile. – M.A.R. Jun 30 '16 at 7:55
  • 1
    Reproduced on Chinese Language on Chrome for Windows. I think that's the first site on PC that I had this experience. – Meta Andrew T. Jun 30 '16 at 9:17
  • This is a per site setting. Sites can ask in their meta to disable Enter from submitting comments. – ShaWiz Jun 30 '16 at 10:42
  • 1
    @ShadowWizard What if this can be reproduced in lots of sites? – Sweeper Jun 30 '16 at 10:43
  • 2
    I am sure there was an answer just half an hour ago. Where did it go? I can't see it with 10K tools... – Patrick Hofman Jun 30 '16 at 13:12
11

Each site can ask to disable the Enter from submitting comments.

For example Chinese Language SE asked it here: Disable [Enter] in comment field and it was indeed done, two years ago.

This is the reason given there:

My IME allows me to choose from several hanzi and commits the selected hanzi by typing [Enter]. At the moment I have to edit the comment for every hanzi I enter (which also means I can write a comment for at most 5 minutes).

Which does make sense. So I'd say that any language-specific site has a high chance of disabling Enter from submitting comments for that reason.

More sites where Enter is disabled from submitting: (Feel free to add more)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .