Gutenberg

外掛說明

Gutenberg 的功能遠超一般內容編輯器。雖然內容編輯器仍是目前開發重點,但這個專案最終將會影響整個包含內容客製化 (下一個開發重點) 的發佈體驗。

進一步瞭解這個專案

Editing focus

The editor will create a new page- and post-building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery. — Matt Mullenweg

One thing that sets WordPress apart from other systems is that it allows you to create as rich a post layout as you can imagine — but only if you know HTML and CSS and build your own custom theme. By thinking of the editor as a tool to let you write rich posts and create beautiful layouts, we can transform WordPress into something users love WordPress, as opposed something they pick it because it’s what everyone else uses.

Gutenberg looks at the editor as more than a content field, revisiting a layout that has been largely unchanged for almost a decade.This allows us to holistically design a modern editing experience and build a foundation for things to come.

Here’s why we’re looking at the whole editing screen, as opposed to just the content field:

  1. The block unifies multiple interfaces. If we add that on top of the existing interface, it would add complexity, as opposed to remove it.
  2. By revisiting the interface, we can modernize the writing, editing, and publishing experience, with usability and simplicity in mind, benefitting both new and casual users.
  3. When singular block interface takes center stage, it demonstrates a clear path forward for developers to create premium blocks, superior to both shortcodes and widgets.
  4. Considering the whole interface lays a solid foundation for the next focus, full site customization.
  5. Looking at the full editor screen also gives us the opportunity to drastically modernize the foundation, and take steps towards a more fluid and JavaScript powered future that fully leverages the WordPress REST API.

區塊

Blocks are the unifying evolution of what is now covered, in different ways, by shortcodes, embeds, widgets, post formats, custom post types, theme options, meta-boxes, and other formatting elements. They embrace the breadth of functionality WordPress is capable of, with the clarity of a consistent user experience.

Imagine a custom “employee” block that a client can drag to an About page to automatically display a picture, name, and bio. A whole universe of plugins that all extend WordPress in the same way. Simplified menus and widgets. Users who can instantly understand and use WordPress — and 90% of plugins. This will allow you to easily compose beautiful posts like this example.

請查閱常見問題集,瞭解關於這個專案最常見問題的答案。

相容性

Posts are backwards compatible, and shortcodes will still work. We are continuously exploring how highly-tailored metaboxes can be accommodated, and are looking at solutions ranging from a plugin to disable Gutenberg to automatically detecting whether to load Gutenberg or not. While we want to make sure the new editing experience from writing to publishing is user-friendly, we’re committed to finding a good solution for highly-tailored existing sites.

The stages of Gutenberg

Gutenberg has three planned stages. The first, aimed for inclusion in WordPress 5.0, focuses on the post editing experience and the implementation of blocks. This initial phase focuses on a content-first approach. The use of blocks, as detailed above, allows you to focus on how your content will look without the distraction of other configuration options. This ultimately will help all users present their content in a way that is engaging, direct, and visual.

These foundational elements will pave the way for stages two and three, planned for the next year, to go beyond the post into page templates and ultimately, full site customization.

Gutenberg is a big change, and there will be ways to ensure that existing functionality (like shortcodes and meta-boxes) continue to work while allowing developers the time and paths to transition effectively. Ultimately, it will open new opportunities for plugin and theme developers to better serve users through a more engaging and visual experience that takes advantage of a toolset supported by core.

參與者

Gutenberg is built by many contributors and volunteers. Please see the full list in CONTRIBUTORS.md.

適用於區塊編輯器

這個外掛提供 14 個可供 Gutenberg/區塊編輯器使用的區塊。

core/latest-posts
Gutenberg
core/shortcode
Gutenberg
core/rss
Gutenberg
core/categories
Gutenberg
core/legacy-widget
Gutenberg
core/site-title
Gutenberg
core/search
Gutenberg
core/latest-comments
Gutenberg
core/social-link-
Gutenberg
core/calendar
Gutenberg
core/block
Gutenberg
core/navigation-menu
Gutenberg
core/tag-cloud
Gutenberg
core/archives
Gutenberg

常見問題集

如何針對程式碼錯誤進行意見反應或取得協助?

We’d love to hear your bug reports, feature suggestions and any other feedback! Please head over to the GitHub issues page to search for existing issues or open a new one. While we’ll try to triage issues reported here on the plugin forum, you’ll get a faster response (and reduce duplication of effort) by keeping everything centralized in the GitHub repository.

如何為 Gutenberg 做出貢獻?

We’re calling this editor project “Gutenberg” because it’s a big undertaking. We are working on it every day in GitHub, and we’d love your help building it.You’re also welcome to give feedback, the easiest is to join us in our Slack channel, #core-editor.

See also CONTRIBUTING.md.

Where can I read more about Gutenberg?

使用者評論

2019 年 11 月 18 日
I've been teaching WP to people for the last five years. This is a basic example of the excercises: Mounting simple text into a page, formattingen it: http://pageline.se/sf-musikal/solister/ This is what the page looks like in Classic editor: http://pageline.se/sf-musikal/wp-content/uploads/2019/11/2019-11-18_16-11-10.png And this is what it looks like in Gutenberg: http://pageline.se/sf-musikal/wp-content/uploads/2019/11/2019-11-18_16-10-22.png No overview, whatsoever. So, I'll stick to Classic. Gutenberg would be devastating. (If I teach a more complicated homepage, I use Elementor) (Gutenberg himself is a very interesting person, and his invention of the lead type boosted our civilisation)
2019 年 11 月 17 日
I have had great difficulty getting full width images. I use the customizr theme. My work around has been to add an html block and then use normal code. Rather defeats the object of an editor designed to make things easier. If I try and use the image block I either cannot get full width or the image does not appear particularly if the block is lower down the page. Bizarre behaviour. My other issue has been the moving feature for blocks with the arrows. A copy block and paste block would have been more useful. Otherwise it has been fine for me.
2019 年 11 月 16 日
I have been using many Visual Builders, and when Gutenberg come out at first, it was slow and inefficient. I gave it another try and now I love it. Give it more time and it would be even better.
2019 年 11 月 14 日
I used this plugin to create page/post in no time. After using this plugin, I found so many positive changes on my websites. in my opinion, it is a must for every WordPress website. Thank you very much team for putting your time and effort for developing this useful plugin for free. God bless you.
2019 年 11 月 14 日
The deployment of this made all my clients angry and had me frustrated writing all new documentation for them that ended up being three times longer than the original documentation for the exact same tasks. It's been a nightmare until I found the Classic Editor plugin to get things back to bring normal and usable.
2019 年 11 月 12 日
What an absolute mess this editor is. Sure. It looks nice. But factor in these other points: Want to put your content next to eachother? When you align it, the next block's content will just wrap itself next to it if there is enough space for it or not. What is the point of blocks then? Where are the block responsive options? Can't even choose how the layout will be shown on mobile vs desktop! Really basic. Changing a block's HTML will give you a warning or Gutenberg will just delete it Generates HTML output with display:table on it. Why? I will for sure not use this editor ever again to prevent endless hacking and fixing hours.
閱讀全部 2,946 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Gutenberg〉的開發相關工作。

參與者

Gutenberg 外掛目前已有 46 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Gutenberg 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Features

Bugs

Enhancements

New APIs

Various

Experimental

Documentation