Support

Account

Home Forums Bug Reports Setting default alignment and disabling the toolbar does not work Reply To: Setting default alignment and disabling the toolbar does not work

  • Did anyone fix this issue?

    I’ve tried to add custom CSS to the admin panel:

    
    .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],
    .block-editor-block-list__layout .block-editor-block-list__block[data-type^="acf/"],
      @media (min-width: 600px)
        margin-left: -45px
        margin-right: -45px
      .block-editor-block-list__block-edit
        @media (min-width: 600px)
          margin-left: -44px
          margin-right: -44px
    

    It worked, but Gutenberg still doesn’t understand that this block has a full width, so part of its interface is hidden. It feels too hacky to me. I wish it would work out of the box.