12 lines
1.7 KiB
Markdown
12 lines
1.7 KiB
Markdown
# 区块开发基础
|
||
|
||
本节将介绍区块开发中最核心的相关概念。通过以下链接深入了解:
|
||
|
||
1. **[区块的文件结构](https://developer.wordpress.org/block-editor/getting-started/fundamentals/file-structure-of-a-block):** 解析构成区块插件的每个文件用途、文件间的关联关系及其在区块输出中的作用
|
||
1. **[`block.json`配置文件](https://developer.wordpress.org/block-editor/getting-started/fundamentals/block-json):** 如何通过`block.json`元数据定义区块,并详解该文件的关键属性(如`attributes`和`supports`)
|
||
1. **[区块注册机制](https://developer.wordpress.org/block-editor/getting-started/fundamentals/registration-of-a-block):** 如何在服务端与客户端完成区块注册
|
||
1. **[区块包装器](https://developer.wordpress.org/block-editor/getting-started/fundamentals/block-wrapper):** 如何为区块标记包装器配置正确的属性参数
|
||
1. **[编辑器中的区块](https://developer.wordpress.org/block-editor/getting-started/fundamentals/block-in-the-editor):** 区块作为React组件在区块编辑器中的加载原理与结构概述
|
||
1. **[区块的标记表示](https://developer.wordpress.org/block-editor/getting-started/fundamentals/markup-representation-block):** 区块在数据库、主题模板和模式中的呈现方式
|
||
1. **[区块的静态与动态渲染](https://developer.wordpress.org/block-editor/getting-started/fundamentals/static-dynamic-rendering):** 区块如何通过动态或静态方式生成前端输出
|
||
1. **[区块编辑器中的JavaScript](https://developer.wordpress.org/block-editor/getting-started/fundamentals/javascript-in-the-block-editor):** 为区块编辑器开发时如何运用现代JavaScript技术 |