Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    From everything I know, this is being done by WordPress (in particular, the wpautop() function), which is used to generate the HTML code.
    Are you using the block editor? If so, I recommend using the Shortcode block and enter the Shortcodes there. This should not have this behavior then.

    Regardless, are these extra <p> tags causing any trouble?

    Regards,
    Tobias

    Thread Starter billznik

    (@billznik)

    Well it makes a big white space around the content which is not ideal. I tried to make autotop stop working but it didn’t work for me. Anyhow, thanks.

    Thread Starter billznik

    (@billznik)

    I ended up using the css :empty property to not display empty p tags.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    Nice idea! Good to hear that you found a solution!

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Responsive addon inserting P tags’ is closed to new replies.