- WordPress 5 Complete
- Karol Król
- 300字
- 2021-07-02 12:36:47
Working in the block-based content editor
The block-based content editor is the latest and greatest addition to WordPress. The project started its life under the name of Gutenberg and was in development for around two years before it was finally included in WordPress 5 as the primary content-editing tool:

What you can see in the preceding screenshot is the main view of the block-based content editor. Also notice the helpful onboarding tips that provide you with assistance during your initial encounter with the new editor.
So why is it called the block-based editor? Because of the way the editor handles content and manages their structure. The content that you have within your posts or pages is divided into individual blocks, one below the other, all arranged neatly on a (digital) canvas.
Before block-based editing, WordPress used a traditional what-you-see-is-what-you-get editor. It used a classic paragraph-based structure—an approach very similar to how you'd build a Google or a Word document. However, such a traditional structure isn't always suited to handle the modern content requirements of the web. In other words, it makes it hard to build elaborate, visually pleasing blog posts or pages and present them effectively on different devices.
Block-based editing makes more sense since each block of content can be treated individually and handled differently depending on the device used to view the content. Moreover, it's easier to rearrange blocks than it is paragraphs.
So what can a block actually be? Think about everything that can be put on a web page. This includes the following:
- Blocks of text
- Images
- Videos
- Quotes
- Headings
- Tables
- Buttons
- Embeds from third-party websites (such as YouTube or Facebook)
- And much more
The following section of the chapter describes how to use the block-based editor to create your first blog post.
- Application Development with Qt Creator(Second Edition)
- 物聯網工程規劃技術
- 物聯網關鍵技術及應用
- 互聯網安全的40個智慧洞見:2014年中國互聯網安全大會文集
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 光纖通信系統與網絡(修訂版)
- 工業互聯網創新實踐
- 云計算技術與標準化
- 互聯網安全的40個智慧洞見(2016)
- Selenium WebDriver 3 Practical Guide
- SEO攻略:搜索引擎優化策略與實戰案例詳解
- 物聯網與智慧廣電
- 從物聯到萬聯:Node.js與樹莓派萬維物聯網構建實戰
- 物聯網技術與實踐
- 網絡基本通信約束下的系統性能極限分析與設計