/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/block-library/src/tab-list/block.json
82 строки
2 KB
Aki Hamano
Tab List: Add toolbar buttons to reorder tabs (#80107)
15 июл 2026, 09:03
Не верифицирован
15 июл 2026, 09:03
2c4ca0b
Код
Авторство
О чём код?
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/tab-list", "title": "Tab List", "description": "Display the tab buttons for a tabbed interface.", "category": "design", "textdomain": "default", "parent": [ "core/tabs" ], "usesContext": [ "core/tabs-list" ], "attributes": { "tabs": { "type": "array", "source": "query", "selector": "button", "query": { "label": { "type": "rich-text", "source": "rich-text", "role": "content" } }, "default": [] } }, "supports": { "html": false, "ariaLabel": true, "visibility": false, "lock": false, "color": { "background": true, "text": true, "__experimentalSkipSerialization": true, "__experimentalDefaultControls": { "background": true, "text": true } }, "typography": { "fontSize": true, "__experimentalFontFamily": true }, "__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true, "__experimentalSkipSerialization": true }, "layout": { "default": { "type": "flex", "flexWrap": "wrap" }, "allowVerticalAlignment": false, "allowOrientation": false, "allowWrap": false }, "spacing": { "padding": true, "blockGap": true, "__experimentalSkipSerialization": [ "padding" ], "__experimentalDefaultControls": { "padding": true, "blockGap": true } } }, "selectors": { "border": ".wp-block-tab-list button", "color": { "background": ".wp-block-tab-list button", "text": ".wp-block-tab-list button" }, "spacing": { "padding": ".wp-block-tab-list button" } }, "style": "wp-block-tab-list", "editorStyle": "wp-block-tab-list-editor" }