Support

Account

Home Forums Feature Requests ACF Pro – Ability to select groups in Gutenberg block sidebar

Unread

ACF Pro – Ability to select groups in Gutenberg block sidebar

  • Since WordPress 6.2 <InspectorControls> can have “group” attribute – for example <InspectorControls group="styles"> – possible options are:
    – settings (default)
    – styles
    – color
    – typography
    – dimensions
    – border
    – advanced

    My use cases:
    – when creating simple ACF blocks without any field (wrappers like “container” and “group”) – for purpose of only using native Gutenberg fields from “Styles” tab and there’s no option to remove default “Settings” group completely (so in this case I would like to have no “Settings” and “Styles” tabs – similar to native paragraph block).
    – ability to add fields directly to one of groups – for example to color “group” to add ability to change color of specific ACF text field (so user can set all color settings from the same place in sidebar).

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.