qpixel icon indicating copy to clipboard operation
qpixel copied to clipboard

Add a way to preview a comment before posting

Open cellio opened this issue 2 years ago • 0 comments

meta:289248

We support quite a bit of formatting in comments, even MathJax and code. Can we add a way to preview comments to avoid having to make repeated "blind" edits to fix errors?

Posts always show a preview, but comments are lighter-weight and often don't include anything fancy. I think for comments it would be fine to have to click something to see a preview, whether that's a button that produces a modal, or GitHub-style "Write" and "Preview" tabs, or something else lightweight. I think it would probably be overkill, and maybe distracting, to have the formatted version of a comment always show up below the textbox like for posts. Also, for initial comments, it would make the field for the thread title less obvious. But can we give users the option to see a rendered comment before posting, for those cases where it would help?

cellio avatar Dec 08 '23 02:12 cellio