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 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.

Post History

71%
+3 −0
Q&A Adjustable size comment text area

The character limit for a comment is 1000, but the text area in which it is typed or edited is much smaller than this. Most comments are short, but some comments can have reason to be longer, and ...

0 answers  ·  posted 2y ago by trichoplax‭  ·  edited 2y ago by trichoplax‭

#2: Post edited by user avatar trichoplax‭ · 2022-11-02T14:57:32Z (about 2 years ago)
Add examples of where this would be helpful
  • The character limit for a comment is 1000, but the text area in which they are typed or edited is much smaller than this. For many comments that area will already be more than enough, as many comments are very short. However, I'd find it useful on some occasions to be able to drag the bottom of the text area to make it bigger while drafting a longer comment.
  • The character limit for a comment is 1000, but the text area in which it is typed or edited is much smaller than this.
  • Most comments are short, but some comments can have reason to be longer, and others can be taller despite being only a small number of characters (due to quote blocks, code blocks, MathJax, or lists of points if [lists (bullets and numbers) in comment markdown](https://meta.codidact.com/posts/287058) is implemented).
  • In most cases the comment editing text area does not need to be taller - the current default height works well. However, it would be useful to have the option to drag the bottom of the text area to a custom height in the cases described.
  • ## Examples
  • ### Long feedback
  • Particularly on Meta sites, and also in the Code Golf Sandbox, there can be quite detailed feedback on how to improve a post. This can be well within the 1000 character limit but still exceed the height of the text area.
  • ### Quote blocks
  • In giving feedback on a post it can be useful to quote the relevant section of the post, and/or quote a relevant section of documentation. This requires additional blank lines in the markdown leading to more height even with few characters.
  • ![The comment text area with markdown for a quote block](https://meta.codidact.com/uploads/hGMvMLRg3WRjtHcb9JXvBj1M)
  • Making 2 quote blocks, to contrast 2 sections of the post that contradict each other, or to compare part of the post with documentation, would take the height well over the default.
  • ### Code blocks
  • On sites that discuss code (Software Development, Power Users, Code Golf, Linux Systems) comments sometimes include code blocks. Even a short snippet of code with few characters can take up several lines and make the comment taller, especially as the markdown for a code block is generally 2 lines taller than the rendered code block.
  • ![The comment text area with markdown for a code block](https://meta.codidact.com/uploads/3yj8e3r8mxBcji1khW9GWDvR)
  • On any Codidact site the same can happen when using a code block to explain how the markdown code of a post works or could be improved.
  • ### MathJax
  • On sites that have MathJax enabled (Scientific Speculation, Electrical Engineering, Mathematics, Code Golf, Physics, Tabletop RPGs) height can be increased by MathJax code with only a few characters per line - both for explaining a point with mathematical notation, and for explaining to someone how to fix their MathJax code if it isn't displaying as intended.
  • The following MathJax code fills up the height of the text area:
  • ![The comment text area with MathJax code](https://meta.codidact.com/uploads/koVYd4JUZKWUmjDwUYJ7xJNq)
  • When rendered it is a short comment with few characters:
  • ![The rendered comment with mathematical notation](https://meta.codidact.com/uploads/Wgm6zJ26kD8fsGDjrGLnSy9F)
#1: Initial revision by user avatar trichoplax‭ · 2022-10-30T05:07:13Z (about 2 years ago)
Adjustable size comment text area
The character limit for a comment is 1000, but the text area in which they are typed or edited is much smaller than this. For many comments that area will already be more than enough, as many comments are very short. However, I'd find it useful on some occasions to be able to drag the bottom of the text area to make it bigger while drafting a longer comment.