gutenbergdocs/getting-started/fundamentals
2025-10-22 01:33:45 +08:00
..
block-in-the-editor.md first commit 2025-10-22 01:33:45 +08:00
block-json.md first commit 2025-10-22 01:33:45 +08:00
block-wrapper.md first commit 2025-10-22 01:33:45 +08:00
file-structure-of-a-block.md first commit 2025-10-22 01:33:45 +08:00
javascript-in-the-block-editor.md first commit 2025-10-22 01:33:45 +08:00
markup-representation-block.md first commit 2025-10-22 01:33:45 +08:00
README.md first commit 2025-10-22 01:33:45 +08:00
registration-of-a-block.md first commit 2025-10-22 01:33:45 +08:00
static-dynamic-rendering.md first commit 2025-10-22 01:33:45 +08:00

区块开发基础

本节将介绍区块开发中最核心的相关概念。通过以下链接深入了解:

  1. 区块的文件结构: 解析构成区块插件的每个文件用途、文件间的关联关系及其在区块输出中的作用
  2. block.json配置文件: 如何通过block.json元数据定义区块,并详解该文件的关键属性(如attributessupports
  3. 区块注册机制: 如何在服务端与客户端完成区块注册
  4. 区块包装器: 如何为区块标记包装器配置正确的属性参数
  5. 编辑器中的区块: 区块作为React组件在区块编辑器中的加载原理与结构概述
  6. 区块的标记表示: 区块在数据库、主题模板和模式中的呈现方式
  7. 区块的静态与动态渲染: 区块如何通过动态或静态方式生成前端输出
  8. 区块编辑器中的JavaScript: 为区块编辑器开发时如何运用现代JavaScript技术