/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/blocks/src/index.ts
14 строк
625 B
Manzoor Wani
blocks: Convert blocks package to TypeScript (#76312)
14 апр 2026, 11:18
Не верифицирован
14 апр 2026, 11:18
b8ea87d
Код
Авторство
О чём код?
// A "block" is the abstract term used to describe units of markup that, // when composed together, form the content or layout of a page. // The API for blocks is exposed via `wp.blocks`. // // Supported blocks are registered by calling `registerBlockType`. Once registered, // the block is made available as an option to the editor interface. // // Blocks are inferred from the HTML source of a post through a parsing mechanism // and then stored as objects in state, from which it is then rendered for editing. export { store } from './store'; export * from './api'; export * from './deprecated'; export * from './types';