Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

[Resolved] Frontend Rich Text Editor Adds Extra Paragraph Spacing on Edit (BuddyBlog Pro)

  • Participant
    Level: Initiated
    Posts: 15
    Danny on #56136

    After inspecting the affected area using browser DevTools, the spacing comes from the editor outputting:<p><br></p>
    These empty paragraph tags appear between content blocks and create large blank gaps in Edit mode.
    Looking forward to your quick fix on your end.
    Thanks.
    Danny

  • Keymaster
    (BuddyDev Team)
    Posts: 25357
    Brajesh Singh on #56137

    Hi Danny,
    I am sorry, BuddyBlog is not causing the spacing. I saved and tested on a blank install of BuddyBoss.

    I believe some code or plugin on your site is causing this conflict.

    Do you have a staging site where I may look into? If yes, Please share a link and grant me access(Please share via contact form or private reply here).

    If staging is not feasible, Please provide me following details:-
    1. List of active plugin
    2. Are you using bp-custom.php? Is there a file with this name in your wp-content/plugins directory?

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    Danny on #56138
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25357
    Brajesh Singh on #56141

    Hi Danny,
    Thank you for your patience.
    I have checked it thoroughly and I do see the issue. On that screen, something is applying wpautop filter on all content inside the BuddyBoss’s item.
    May I disable some of the plugin/code to check what is causing it?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25357
    Brajesh Singh on #56142

    Here is a bit more detail:-
    One of the plugin/code is forcing to run wpautop on shortcode generated content. WordPress handles it well, but something is causing to run after the generated code to cause this issue(the form on page is being generated via shortcode).

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    Danny on #56143

    Hi Brajesh,

    Yes, please feel free to disable any plugins or custom code needed on the staging site to identify the cause.
    Thanks!
    Danny

  • Keymaster
    (BuddyDev Team)
    Posts: 25357
    Brajesh Singh on #56144

    Thank you.
    the conflict is caused by Elementor as It disappeared when I disabled it on the staging.

    Please allow me a day to look into it and provide a solution.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    Danny on #56145

    Great! Thank you Brajesh!
    Danny

  • Participant
    Level: Initiated
    Posts: 15
    Danny on #56149
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25357
    Brajesh Singh on #56150

    Hi Danny,
    I am sorry, it took me time to investigate and find a solution. I was looking at a code based solution but my issue was the concern it might break others.

    There is a simple solution though. Please Edit the page you are using for shortcode and make sure you switch back to WordPress editor(there is a button at top left). Once you do that and save, elementor will not try to add its customization on the page and It will be rendered normally.

    Regards
    Brajesh

The topic ‘ [Resolved] Frontend Rich Text Editor Adds Extra Paragraph Spacing on Edit (BuddyBlog Pro)’ is closed to new replies.

This topic is: resolved