/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/block-library/src/post-comment/block.json
33 строки
699 B
Carlos Bravo
Interactivity API: Add `block supports` for `clientNavigation` and `interactive` properties on `block.json` schema. (#58132)
02 фев 2024, 23:24
Не верифицирован
02 фев 2024, 23:24
f6e9fcc
Код
Авторство
О чём код?
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "__experimental": "fse", "name": "core/post-comment", "title": "Comment (deprecated)", "category": "theme", "allowedBlocks": [ "core/avatar", "core/comment-author-name", "core/comment-content", "core/comment-date", "core/comment-edit-link", "core/comment-reply-link" ], "description": "This block is deprecated. Please use the Comments block instead.", "textdomain": "default", "attributes": { "commentId": { "type": "number" } }, "providesContext": { "commentId": "commentId" }, "supports": { "html": false, "inserter": false, "interactivity": { "clientNavigation": true } } }