• Resolved dimal

    (@dimalifragis)


    Trying to edit the home page, i can’t move things around. My console reports:

    Block validation: Block validation failed forcore/spacer` (
    Object { name: “core/spacer”, icon: {…}, keywords: [], attributes: {…}, providesContext: {}, usesContext: (1) […], supports: {…}, styles: [], save: save()
    , apiVersion: 2, … }
    ).

    Content generated by save function:

    <div style=”height:100px” aria-hidden=”true” class=”wp-block-spacer”></div>

    Content retrieved from post body:

    <div style=”height:5px” aria-hidden=”true” class=”wp-block-spacer”></div> blocks.min.js:2:40465`

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dimal

    (@dimalifragis)

    Ok, i was able to solve this, by updating WP from 5.8.4 to 5.9.2.

    One thing remained as issue, the Directorist blocks cant be moved down or up, with the arrows.

    Actually the block options box (move, move up/down,remove etc) doesn’t work at all. And that makes the rest non-directorist block to do the same.

    Deleting the directorist blocks, all work again fine.

    Hi @dimalifragis,

    I’ve just checked with WordPress 5.9.2 and moving blocks work just fine. I see that you’re already in touch with us regarding some other issues, we’ll look into it with them as well.

    Regards,
    Mahdi.

    Thread Starter dimal

    (@dimalifragis)

    Well it doesn’t work right, i had that tested that and made a video for you.

    SOME blocks of Gutenberg AFTER a block of Directorist don’t work right. Cant be moved, changed etc etc.

    https://drive.google.com/file/d/11me914YGP3PdeY84CLbu4h_kQjMhtQsK/view?usp=sharing

    Hi @dimalifragis, thank you for the demonstration.

    I’ve checked again and while it works fine, for the most part, I’ve noticed that it doesn’t work for the blocks that are directly under of Directorist’s block. This is a CSS issue and I’ve passed it on to the devs to fix, in the meantime, you can use this CSS to fix it on your site (use plugins like Simple Custom CSS and JS to apply it on the backend):

    
    html :where(.wp-block) {
        margin-bottom: 50px !important;
    }
    

    Here’s a screen record of block-moving working: https://www.loom.com/share/d2fd95ba226d462399f0dbbecef449c9

    Regards,
    Mahdi.

    Thread Starter dimal

    (@dimalifragis)

    Yes correct. It doesn’t work AFTER a Directorist’s block.

    Thank you i will try that.

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

The topic ‘Gutenberg issue’ is closed to new replies.