• Hi, I recently upgraded to WP 5.5 and the new Block Editor (which is hideous) and can only imagine it’s use if for people who cannot code HTML.

    It now seems WordPress places unsolicited (and unwanted) <p> tags around all text. I’d firstly like to remove this feature.

    I also cannot now seem to perform a simple <br /> line break as they are now auto-removed!

    Come on guys! This is ridiculous. When offering so-called improvements there should be an option to opt-out in favour of continuing to use a method that previously worked just fine.

    Can someone please point me in the right direction for instructions on how to remove all of this bloated code and retain my HTML formatting?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello Deeve, have you tried this

    Disabling the filter

    Some people choose to disable the wpautop filter from within their theme’s functions.php:

    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_excerpt', 'wpautop' );
    Thread Starter deeve

    (@deeve)

    Yes I did. That then un-formats all of my previous, perfectly formatted pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please help me ignore auto formatting in Block Editor?’ is closed to new replies.