Support

Account

Home Forums Gutenberg Adding classes to back-end block wrapper

Unread

Adding classes to back-end block wrapper

  • Is there a way to add additional classes to the wrapper div of acf blocks in the editor?

    I am refering to the element with the following classes:

    block-editor-block-list__block wp-block acf-block-component acf-block-body acf-block-preview

    I would just circumvent this issue by applying “display: contents;” to the wrapper, but then I cannot access the popup contextual menu, as the wrapper is (unsurprisingly) unselectable.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.