hitting "Enter" creates 2 line breaks

Re: hitting "Enter" creates 2 line breaks

by Joseph Rézeau -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

That "gap" has nothing to do with Moodle or its HTML editor. It is just the normal vertical separator between 2 consecutive paragraphs.

What you call a "line" is in fact a paragraph (consisting of one line).

If you are creating a "series" of "lines", then you might consider formatting them as lists instead of paragraphs.

1.- Series of one-line paragraphs:

one

two

three

...

2.- Series of lines separated by a linebreak:

one
two
three

3.- Ordered list:

  1. one
  2. two
  3. three

4.- Unordered (bulleted) list:

  • one
  • two
  • three

Joseph