Log1x / poet

Configuration-based post type, taxonomy, block category, and block registration for Sage 10.

Home Page:https://github.com/Log1x/poet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gutenberg Block Category

davideprevosto opened this issue · comments

Poet config is shipping this array index:

'block_categories' => [
        // 'cta' => [
        //     'title' => 'Call to Action',
        //     'icon' => 'star-filled',
        // ],
    ],

The documentation show instead:

'block_category' => [
    'cta' => [
        'title' => 'Call to Action',
        'icon' => 'star-filled',
    ],
],

It seems block_category is the right index.