Gutenberg

ཞིབ་བརྗོད།

Gutenberg is more than an editor. While the editor is the focus right now, the project will ultimately impact the entire publishing experience including customization (the next focus area).

Discover more about the project.

རྩོམ་སྒྲིག་འདུ་གནས།

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.

Check out the FAQ for answers to the most common questions about the project.

འཆམ་མཐུན།

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.

FAQ

How can I send feedback or get help with a bug?

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.

How can I contribute?

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?

གདེང་འཇོག

WP not meant to mix CONTENT and DESIGN/LAYOUT

There is no need for a new editor with page design capability, because the concept of WordPress is to strictly separate CONTENT from DESIGN/LAYOUT.

Therefore, the themes with various degrees of layout and design capabilities and the page builders were created to turn CONTENT entered at the front end into a DESIGN/LAYOUT set up at the backend by the themes and/or page builders.

Gutenberg is just disturbing this concept. I am using Divi and lots of us have been waiting for their Theme builder to be released, which is catching up to other page builders in that regard. It is supposed to enable us to create page and post template layouts in Divi – but now it seems that Gutenberg templates are starting to become the new kid on the block – in direct contrast to this concept of page builders using their superior power to create these templates. This is just in direct competition to all page builders that are WAY more advanced. It’s not the job of a front-end content editor to design and layout a page or post.

This is all going into the WRONG direction and has not been thought through.

I wanted to like it….

The “preview” is dragging out OLD content not touched for over a year to show as the preview and the new stuff doesn’t show at all? Seems to be lost finding the post/page to preview which makes me think something is really scrambled.

And that’s “when” the preview even works as frequently I just see the WordPress logo and nothing else happens.

Not good.

What everybody else said

This is so bad to use, that I am forced to use the old editor again.
This block editor aligns everything as it wishes. I have zero control over my own website.

Can’t edit or update content

Gutenberg will probably bring lot’s of good stuff in the future, but for know, it’s completely unusable.

e.g.

  • Can’t update of save pages
  • Gutenberg crashes Chrome because of confirmation dialogs that come up and then immediately disappear.
  • I keep getting “Updating failed”.
  • The editor is ridiculously narrow and doesn’t resemble the actual site-content.

Gutenberg is too big a change for most website-owners imho.
I think it would be nice there was an option to opt out of this editor.

Not good

I really don’t like the new editor. I tried using it for a few days but I’m switching back to the old one.
The editing blocs are way smaller than the original editor, and I can’t understand why that’s not re-sizable.
Switching to HTML is harder than before.
Tiny MCE is not working properly, I’ve lost many useful features such as anchor links.
Inserting a picture moves the cursor at the top of the document which is very annoying.

The only thing I like about this new editor is the AJAX save without reload feature.

Horrible

This interface constantly gets in my way. It is clunky and lags and it makes it harder to see the HTML. I was trying to confirm the Google doc stuff was stripped out, which would be easy with the old design.

I can’t even scroll properly in the main window so I can’t get past the length of what is on my screen! I tried this when it was beta before they forced it on us and I hated it then. It’s no better now.

I love WordPress but I hate this “upgrade.” Why can’t you just leave things alone? This is really a “downgrade” that makes me think of switching to a competitor.

Read all 1,974 reviews

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Gutenberg” is open source software. The following people have contributed to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

“Gutenberg” has been translated into 42 locales. Thank you to the translators for their contributions.

Translate “Gutenberg” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

དག་བཅོས་ཉིན་ཐོ།

Latest

Performance improvements

  • Optimize isViewportMatch
  • Performance: BlockListAppender: 1.7x increase on key press
  • Date: Optimize the usage of moment-timezone to save some kilobytes
  • RichText: selectionChange: bind on focus, unbind on blur
  • RichText: only replace range and nodes if different
  • Cache createBlock call in isUnmodifiedDefaultBlock
  • Edit Post: Select blocks only once multiple verified
  • RichText: Do not run valueToEditableHTML on every render
  • RichText: Reuse DOM document across calls to createEmpty
  • Only initialise TinyMCE once per instance
  • Optimize the insertion point component
  • Avoid rerending the current block if the previous block change
  • Avoid getBlock in block-list/block
  • Pass the registry argument to withDispatch to allow selectors to be used

Bug fixes

  • Annotations: Apply annotation className as string
  • RichText: Ensure instance is selected before setting back selection
  • Meta Boxes: Don’t hide disabled meta boxes by modifying DOM
  • Fix: Problems on Media & Text block resizing; Load wp-block-library styles before wp-edit-blocks
  • When a post is saved, check for tinymce and save any editors.
  • Fix: Undoing Image Selection from Media Library in Image Block breaks it
  • Add an end-to-end test for the HTML block
  • Fix regression when copying or cutting content in the editor
  • Fix issue where default appender has icons overlaying the text
  • Set document title for preview loading interstitial
  • Fix: Upload permissions error on end-to-end inline tokens test
  • Ensure classic block caret is in correct position after blur
  • Fix tab navigation sometimes skipping block UI
  • Improve font size picker accessibility: Use a menuitemradio role and better labels
  • Don’t show trashed reusable blocks in the editor or frontend
  • Rename functions, removing gutenberg_ prefix
  • Add block switcher end-to-end tests
  • Allow links in plugin group in the editor more menu
  • Introduce searching of block categories from slash inserter
  • Convert HTML formatting whitespace to spaces
  • Label link format with selected text, not full text
  • Ensure permalink panel is only displayed when a permalink is allowed
  • Allow the user to convert unembeddable URLs to links and try embedding again
  • Improve the top bar tools interaction and consistency
  • Fix overflowing content in the facebook embed preview screen
  • Add an action to set a category icon and correct block categories documentation
  • Fix: pasting a tag that is part of a transform and not matched ignores the content.
  • Packages: Extract Eslint config package
  • Add end-to-end test to catch revert of title during a preview after saving a draft
  • Avoid react warnings when merging two adjacent paragraphs
  • Avoid PHP notice in the recent comments block