块编辑器开发文档

💡 云策文档标注

概述

本文档概述了块编辑器(Gutenberg)的架构和用户体验原则,涵盖编辑器和Gutenberg仓库的核心方面。面向WordPress开发者,旨在提供高层次的技术理解。

关键要点

  • 编辑器部分:包括关键概念、数据格式与数据流、实体与撤销/重做、站点编辑模板、编辑器中的样式以及性能优化。
  • Gutenberg仓库部分:涉及模块化与WordPress包、仓库文件夹结构,以及为什么选择Playwright作为端到端测试工具。

📄 原文内容

Let’s look at the big picture and the architectural and UX principles of the block editor and the Gutenberg repository.

Editor

Gutenberg repository