2

We know comments use minimarkdown, which discards newlines. Thus, the Enter key submits the comment instead.

Flag messages also discard newlines. The Enter key, however, inserts one instead of submitting the flag.

I agree that this might trigger angry flames from the people who hate the comments behaviour suddenly starting to submit partial flag messages (although I only have ever seen one or two flag messages that might've used one.) However, that's how it should work.

For consistency science.

You monster.

8
  • 5
    Comments are editable later, but flag reason is not.
    – YOU
    Commented Apr 30, 2011 at 9:38
  • 1
    I was going to agree with badp but seeing @YOU's comment made me think again. It's not a bad idea, but could cause more problems than it solves.
    – ChrisF Mod
    Commented Apr 30, 2011 at 10:24
  • @Chris How often do you need (or hell, have you seen) a newline in a flag to begin with?
    – badp
    Commented Apr 30, 2011 at 10:41
  • @badp - I wasn't thinking of actually needing a newline, but of not being able to edit it. Having the extra click gives you a chance to review what you've typed.
    – ChrisF Mod
    Commented Apr 30, 2011 at 10:44
  • 2
    @ChrisF: I was going to disagree with badp, but then, flag messages are typically very short, with a low risk of hitting the Enter key by mistake. If your flags are so long hitting Enter too soon is a real risk, maybe they're too long? Commented Apr 30, 2011 at 12:45
  • @Giles - that should be true. H'mm amazing how something apparently so simple can be more complex the more you look at it.
    – ChrisF Mod
    Commented Apr 30, 2011 at 13:14
  • @YOU Comments are editable only for a short time period.
    – convert
    Commented Jan 13, 2023 at 13:03
  • Disable enter key for flag submission marked status-completed in 2020
    – starball
    Commented Mar 13 at 6:30

0

You must log in to answer this question.

Browse other questions tagged .