Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the "town hall" (meta-discussion site) for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Pressing Enter in the Edit Comment box inserts a link instead of submitting

Post

Pressing Enter in the Edit Comment box inserts a link instead of submitting

+4
−1

I'm used to pressing Enter in the edit summary box to submit an edit, as it works on Wikipedia and Stack Exchange, however, here, when I edit a post, pressing Enter in the Edit Comment box doesn't submit, instead it inserts link syntax []() into the post body.

For reference:

History

2 comment threads

"Edit Comment box"? (6 comments)
Known issue (2 comments)
"Edit Comment box"?
Olin Lathrop‭ wrote 9 months ago

What "Edit comment box"? I tested ENTER when writing a comment, and it started a new line as expected.

It would be really bad if ENTER submitted a post instead of starting a new line. That would be totally unintuitive, and how would you then start new lines?

wjandrea‭ wrote 9 months ago

Olin Lathrop‭ Edited to clarify. This is when editing a post, not a comment. An "Edit Comment" is called an "Edit summary" on Wikipedia and Stack Exchange.

Olin Lathrop‭ wrote 9 months ago

It's still not clear exactly what it is you are typing into that this question is about. However, it would be very unintuitive if ENTER caused a post to be submitted. ENTER is for starting a new line.

The only time ENTER might be expected to submit what was typed is when it's a short string limited to a single line. A good example would be entering a search string. You don't expect to write multiple lines, and you do expect ENTER to submit the search request in that case.

wjandrea‭ wrote 9 months ago

Olin Lathrop‭ "It's still not clear exactly what it is you are typing into that this question is about." - As I wrote, "when I edit a post, pressing Enter in the Edit Comment box" - what's unclear about that? In any case, tricho's answer has a screencap.

"when it's a short string limited to a single line." - Yes, that's the case here.

Olin Lathrop‭ wrote 9 months ago

I don't know what an "Edit Comment box" is. What exactly triggers you to see this thing? When you edit a comment, you see and edit multiple lines. The answer with the animation shows something with multiple lines, and no context as to what you had to do to get there.

wjandrea‭ wrote 9 months ago · edited 9 months ago

Olin Lathrop‭ again, 'This is when editing a post, not a comment. An "Edit Comment" is called an "Edit summary" on Wikipedia and Stack Exchange.' And by "post" I mean a question or answer.