A setting to always insert images as separate paragraphs

It’s implemented as default behavior, not as a setting. When uploading images from a device:

  • we add a newline before an image if a cursor is on a nonblank line
  • we always add a newline after images
  • we add a newline between images when uploading several images

The important detail is that we always add one, not two newlines.

It’s merged now:
https://github.com/discourse/discourse/pull/12895

9 Likes