Gutenberg

外掛說明

Gutenberg 是使用 WordPress 建立全新典範的開發代號,這個典範旨在如 Johannes Gutenberg 引發的印刷術革命般改革網站內容發佈體驗。這個專案有 4 個階段,這 4 個階段會觸及 WordPress 的主要部分,分別為編輯、客製化、協同作業及內容多語化。

繼 2018 年 12 月導入內容區塊編輯後,Gutenberg 外掛在 2021 年導入全站編輯 (Full Site Editing,FSE) 功能,並在 2022 年年初發佈的 WordPress 5.9 正式推出全站編輯功能

Gutenberg 的開發目的

Gutenberg 是 WordPress 區塊編輯器的測試版本,並導入模組化功能以達到修改整個網站的目的。這個外掛可以在文章或頁面中編輯個別區塊、新增並調整小工具,還可以使用全站編輯功能設計網站頁首、頁尾及導覽列。

在編輯器中的每項內容,無論是段落、圖片、圖庫或是標題,都是個別區塊。就跟現實生活中的積木一樣,使用者可以新增、排列及重新排列 WordPress 區塊,因此使用者能以直觀的方式建立豐富、多樣化的內容及網站版面配置,不再需要類似短代碼或自訂 HTML/PHP 程式碼等因應方式。

開發團隊始終致力於改善使用體驗、建立更多更好的區塊,並為未來的階段奠定基礎。WordPress 核心程式每次主要版本更新,都會包含 Gutenberg 外掛的穩定功能,使用者不需安裝這個外掛便能從中受益。

提早使用最新功能

如果你是精通技術、喜歡測試最新實驗性功能,而且是不怕仍在開發階段的功能需要進行修補的早期使用者,這個 Beta 測試版外掛能讓你使用 Gutenberg 最新功能,例如最新區塊及全站編輯,以及其他有可能發佈的新功能。

歡迎參與者加入

Gutenberg 外掛能提供勇於測試及精通技術的使用者最新、最棒的功能,因此使用者能參與我們的測試、開發最新功能及使用區塊的過程,還可能會獲得貢獻的靈感建置專屬區塊

進一步了解

  • 使用者線上說明文件:請參閱〈WordPress 編輯器〉線上文件,以便進一步了解作者如何使用編輯器建立文章、頁面及各種內容的詳細指示。

  • 開發者線上說明文件:請參閱〈區塊編輯器手冊〉以進一步了解如何擴充編輯器的課程、說明文件及 API 參照資料。

  • 參與者:Gutenberg 是開放原始碼專案,並且歡迎全部開發者、設計師、技術文件作者及編審人員參與。請參閱〈參與者指南〉以進一步了解能參與哪個部分的詳細資料。

Gutenberg 專案的開發中心在 GitHub 存放庫,專案的相關討論 (包含每週會議) 可在 Make Core 部落格及 #core-editor 這個 Slack 頻道進行。如果沒有 Slack 帳號,請在這裡註冊。

常見問題集

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

請在 Gutenberg 的 GitHub 存放庫的「待解問題」(Issues) 頁面回報程式碼錯誤、提出功能建議或其他意見反應。在提交問題前,請先搜尋是否已有其他使用者回報過類似的提問。

我們一直嘗試將使用者在外掛技術支援論壇回報的問題進行分類,但是將這些意見反應集中於 GitHub,有助於盡快獲得回覆。

在何處可以回報安全性程式碼錯誤?

Gutenberg 團隊及 WordPress 社群對安全性程式碼錯誤一向嚴陣以待,我們非常感謝使用者披露相關發現所付出的心力,並會盡全力解決使用者提出的問題。

如需回報安全性問題,請參考 WordPress HackerOne 計畫。

我需要使用 Gutenberg 外掛才能使用這些功能嗎?

不需要。WordPress 5.0 (含) 之後版本均包含 Gutenberg 外掛的功能,就是眾所周知的 WordPress 編輯器,全體使用者均能從 Gutenberg 的穩定功能中受益。

如果使用者想使用最新、包含實驗性項目的 Beta 版測試功能,才需要使用這個外掛。請參考這篇文章,協助決定這個外掛是否適合你的網站。

何處可獲得各個 WordPress 核心程式發佈版本所納入的 Gutenberg 外掛版本資訊?

請參閱〈WordPress 整合的 Gutenberg 版本〉,便能從文件表格展示的資料,獲得在各個 WordPress 核心程式發佈版本所納入的 Gutenberg 外掛版本資訊。

這個專案的下一個階段為何?

這個專案的 4 個階段為內容編輯、客製化、協同作業及內容多語化,這些階段可從 Matt 在 2021 年2020 年2019 年2018 年的演說中得到進一步了解。此外,大家也可以追蹤 Make WordPress Core 部落格上雙週發佈通知專案計畫每月更新,以進一步取得更多即時的最新資訊。

如何進一步了解 Gutenberg 相關資訊?

使用者評論

2024 年 4 月 17 日
I really can't understand why this terrible thing still exists and even get some new features and updates. It's so bad - the first thing I do on all websites is disabling it and installing classic editor.
2024 年 3 月 16 日
I am converting all my posts in Gutenberg. There are 2 benefits: faster site smoother site (cpu usage) Time to write is not better, not worse. Equal. I even start to use Gutenberg on products. I think it's the right time to do it. Switch in future will be dramatically harder, and the logic of Wordpress makes a lot of sense. Many things will become simplier later. I am impressed by the improvements that were made. Of course, the editor lacks a few elements, but they are easy to find elsewhere. But I am on content quality, but not on visual gimmicks. Of course, there is a learning curve, that's always the case when you change your way to work.
2024 年 3 月 6 日 5 則留言
We still can't find a place for Guts as we lovingly call it. I cant train clients to use it, I personally dont see anything that will help my work flow as a web dev and I really cant handle the HTML code and the messy messy way they setup the raw code views. I spend most of my time removing Gutenberg's frankly horrid code from users' sites so they can get back to an editor that is not confusing and very black-box. As a dev I just cant see an advantage, the HTML is so mangled as its created. Also the recent block changes to WooCommerce really messed up a lot of sites I manage. I have used a variety of builders and just hard code in the classic editor as for me this is the ceiling of what site owners want and also what they can handle. I think this is being built by folks who with all respect dont use WP in a real world way. This is a nice idea, but there are so many builders that work, these could be aquired easily and brought into core. This is not working as is, there has been years and years of this and its barely at alpha stages, it also is not faster or easy to use straight out of the box, it is missing features. When Guts is done I fear it will be either anemic for features or like JetPack just a total overload. Not a single new business inquiry related to Gutenberg either, other than folks who dont know what it is, but that their site looks defaced, after the builder messed something up. This project needs imo to be scrapped or moved out of core, how likely this is now I dont know. But it has no real goal, no real way to measure what it meant to do and where it is going.
2024 年 3 月 5 日 1 則留言
Gutenberg seems to be fraught with bugs, and its features feel quite restricted. For instance, adding gallery columns fails to insert any class, disrupting the design, and the drag & drop functionality for elements is far from smooth. Based on my 14 years of experience with WordPress, I believe that immediate improvements to Gutenberg are necessary to prevent detriment to WordPress's overall usability and reputation.
閱讀全部 3,779 則使用者評論

參與者及開發者

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

參與者

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

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

對開發相關資訊感興趣?

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

變更記錄

如需進一步了解最新版 Gutenberg 的變更記錄,請參閱 GitHub 上的〈Release〉頁面。