Support

Account

Home Forums Gutenberg Adding classes to back-end block wrapper

Helping

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.

  • This would be really useful! Did you ever figure out a solution @buggybeetle ?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.