官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 新河县| 湘乡市| 永安市| 赫章县| 东城区| 铜陵市| 鹤岗市| 济宁市| 象州县| 库尔勒市| 乌拉特后旗| 永顺县| 渑池县| 麻栗坡县| 雅安市| 通渭县| 巩义市| 新宁县| 陆川县| 淄博市| 双江| 申扎县| 泰安市| 唐海县| 金阳县| 南充市| 股票| 大港区| 鄢陵县| 霍林郭勒市| 噶尔县| 秭归县| 福海县| 灌南县| 东源县| 横山县| 乳源| 布尔津县| 洪湖市| 沿河| 太原市|