Help in the classical editor

  • Unknown's avatar

    Supernovia asked regarding the block editor:
    – What’s your typical process?
    – What is getting in the way?
    – If you could adjust one feature, what would it be?

    I will deal with these in the CLASSICAL editor.

    — My typical process is text.
    — What is getting in the way is that whenever you start a new paragraph (p in angle brackets in the HTML) a totally unnecessary blank line is automatically started. Anyone who wants one can always press Enter, I do not want it. A new paragraph is indented.
    — If I could adjust one feature it would be to get rid of this unwanted blank line.

    The blog I need help with is: (visible only to logged in users)

  • Hi –

    Which forum thread are you referencing? Please share a look so that we can see the full conversation and have an understanding of context. Thank you.

  • Unknown's avatar

    staff-zinnia
    Not necessary, merely an analogy. Supernovia started a very long superthread (at present 17 pages) about the block editor, and merely using the same format I have asked the same questions about the classic editor and given my details.
    I would like to see the blank line removed. Can it be done?

  • The Paragraphs are by default separated by a blank space. If you do not wish to have them separated, instead of pressing Enter when going to the nest line, try Shift+Enter. It will create a new line right below, instead of creating a new Paragraph Block.

  • Unknown's avatar
  • Can also vouch for shift+enter. I use it habitually if I don’t want to start a new paragraph. It’s also helpful for avoiding “sending” a message on some platforms, if you just want a line break and not to click send, so I’d recommend using that.

    Also, if you are pressing enter to intentionally create space and run into issues with that, let us know. But please do put the feedback in the feedback thread. We’re going through that periodically to file the feedback that comes through there.

  • Unknown's avatar

    Thank you all, I will try the shift-enter to start a new paragraph without a blank line.
    (Here in the forum for example it is not necessary, Enter does not create a blank line.)
    I was thinking mainly of paragraphs created with the p in angle brackets in HTML.
    (I dare not actually write p in angle brackets here as this reply is in HTML and anything might happen.)

    @supernovia

    The feedback thread is for the block editor, I did not find a thread for the classic editor so I opened one.

  • Just to explain why blank lines don’t appear when you press Enter here in the forums, that’s because you’re just typing in a text-only input box, rather than a HTML editor.

    In the editor, when you start typing a line, a html <p> tag is created automatically behind the scenes. When you press Enter, that tag is closed and new one created. And the way HTML is styled by default, p-tags always have a space between them.

    When you press Shift-Enter what you’re in effect doing is adding another HTML tag that denotes a line break, without closing the p-tag you’re currently in.

    Here in the forums you’re just typing text, with no HTML being created automatically behind the scenes. It would be more accurate to compare the forums to the HTML-mode in the editor, than the visual editor you mostly use.

    That’s likely more info than you were looking for, but I thought it might help to understand the difference here :)

  • Unknown's avatar

    @kokkieh
    Thank you very much, the information is very interesting. I always wondered why there was no problem in these comments even though some HTML commands work.

    In the editor, when you start typing a line, a html <p> tag is created automatically behind the scenes.

    Actually I put it in, because I work in the HTML. When using LTR and RTL mixed, the visual editor is too unreliable.

    And the way HTML is styled by default, p-tags always have a space between them.

    This answers my question, it is not up to WP so nothing can be done. That I did not realise.
    The info on Shift-Enter given by various answers above works very well and solves the problem in my emails. Actually if you just press ENTER in HTML (and not the visual) you do not get the blank line, but sometimes I need to press <p> to get various things it supplies (colour, size, and a lot of other things I can’t remember at the moment).
    Still, the main thing is that it is inherent and not up to WP.
    Thank you for being so clear and helpful/

  • The topic ‘Help in the classical editor’ is closed to new replies.