Remove unused blocks

  • Unknown's avatar

    In my battle to simply get four images in a row, side by side, actual size (that took an evening !), the wordpress editor has added a whole load of [+] symbols on the RHS in the editor. How do I get rid of them ? They do not affect the preview, but in the editor there’s often two pages full of these [+] symbols and I just cant find any way of selecting / deleting them. If I click on the [+] symbol it displays “search for a block” but there is no option to get rid of the pile of [+] icons.

    I’m very experienced in HTML/CSS and also a self hosted WordPress site; I accept there will be a learning curve to get up to speed with the WordPress.com editor but I’m getting nowhere fast.

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

  • Unknown's avatar

    I have a workaround. Switch to code editor view; my blocks of images started with:

    <!– wp:coblocks/gallery-offset ……..

    and ended with :

    <!– /wp:coblocks/gallery-offset –>

    but the whole block was surrounded by many layers of wp blocks which I think were what was causing the original issue.

    Copy that “wp:coblocks” block and paste in a new page. Preview the new page to make sure it copied correctly.

    Return to the original page and, still in code editor mode, delete all the superfluous blocks including the block you copied to another page.

    Although the images are deleted, at this stage previewing the page still displays the images ! But update the page, exit and re-enter your site. Now copy the block you saved in a new page back into the original page, switch back to Visual Editor et voila all those superfluous [+] symbols have gone and normal editing has resumed.

    I suspect the superflous [+] blocks got inserted as I desperately changed to different block types whilst trying to get my images to display in-line, actual size. Is this an editor bug ?

  • Hi there!

    The + sign only shows an empty area where you can add a new block. You’ll see those if you add some empty spaces, it’s not a bug and it will not affect your site in any way.
    If you’d like to add some empty space that would actually appear on the frontend, you can add the Spacer Block:

    https://wordpress.com/support/wordpress-editor/blocks/spacer-block/

    I hope that helps :)

  • The topic ‘Remove unused blocks’ is closed to new replies.