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.

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.

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.

ხდკ

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.

აგრეთვე იხილეთ CONTRIBUTING.md.

სად შემიძლია წავიკითხო დამატებით Gutenberg-ის შესახებ?

მიმოხილვები

Could not give zero stars

Normally I wait a while before commenting on anything, especially shifts in interface design because it takes time to learn new things. With WordPress' Gutenberg, however, it only took us a few weeks to realize that it has killed WordPress for us. There is absolutely nothing to recommend it, and beware - it can break your site. For example, when switching back to the classic editor (because WordPress forces you into Gutenberg by default), we have lost the ability to edit certain pages. Gutenberg also is slower, buggier, and it takes much longer to make simple edits than the previous, superior, well-thought out interface. We really did try to find a single positive thing, but it's a lot of hassle and fussy design for NOTHING. Gutenberg is another in an increasingly annoying list of developers making a major overhaul for... why? It's like developers really don't care about who uses their creations. We didn't want this change at all, and if you force something on us we don't want, at least make a good go of it - make it not awful and buggy and difficult to use. I know you want to force adoption, but at least for us and our sites, it did the opposite. We won't build new sites in WordPress. It's just not worth the hassle. We'd rather look to a platform that is not trying to sabotage their users.

AWFUL!!

Gutenberg to the classic editor is what New Coke was to Classic Coke. If it ain't broke - don't fix it. Unless the classic editor is available in the future (I've installed the Disable Gutenberg plugin for now), I will be diving off the WP ship...
2 326 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Gutenberg” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

“Gutenberg” has been translated into 43 locales. გმადლობთ თარჯიმნებო თქვენი წვლილისათვის.

გადათარგმნეთ Gutenberg თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

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

ცვლილებები

Latest

Performance

  • Improve page initialization time by optimizing the addHook function and the viewport state initialization.
  • Improve typing performance by splitting the state tree.
  • Optimize partial application of runSelector.
  • Move selector calls to the event handles to avoid useless component rerenders.
  • Render DropZone children only when dragging elements over it.
  • Initialize variables only when needed.

Enhancements

  • Add error messages to the image block on upload failures.
  • Merge similar i18n strings.
  • Disable clipboard button in file block during upload.
  • Persist alignment when transforming a gallery to an image and vice-versa.
  • Copy enhancement to the embed block help text.
  • Improve the scrolling of the WordPress navigation menu.

Bug Fixes

  • Fix RTL support for the DatePicker component.
  • Change the header level in the BlockCompare component.
  • Show all the taxonomies in the sidebar.
  • Fix the latest posts date className.
  • Fix the “align center” button in Latest Posts block in the backend.
  • Fix block height when DropCap is used.
  • Fix converting caption shortcode with link.
  • Fix edge case in addQueryArgs function.
  • Don’t return the permalink if the CPT is not publicly viewable.
  • Fix error when saving non public CPTs.
  • Properly disable the Publish button when saving is disabled.

Various

  • Show a message in the browser’s console when in Quirks Mode.
  • Improvements to the @wordpress/scripts package: A new a check-engines command, a lint-style command and an update to lint-js.

Documentation

  • Add a getting started with JavaScript tutorial.
  • Document the blocks’ setup states in the design guidelines.
  • Add content to Contributors index page.
  • Improve the components documentation:
    • The MenuItem component.
    • The RadioControl component.
    • The ServerSideRender component.
  • Organise the documentation assets in a dedicated folder.
  • Clarify immutability of the block attributes.
  • Fix the metabox back compat code example.
  • Fix incorrect data module example.
  • Improve the plugin release docs.
  • Remove useless property from the colors code example.
  • Improve the contributing documentation.
  • Fix npm README links.
  • Update the design resources link.
  • Typo fixes.

Chore

  • Run e2e tests with popular plugins enabled.
  • Add new e2e tests:
    • The permalink panel.
    • The categories panel.
    • Blocks with meta attributes.
  • Update node-sass to fix Node 11 support.
  • Move the dev dependencies to the root package.json.
  • Improve the Pull Request Template.
  • More logs to the CI jobs.
  • Code style fixes and expand the phpcs coverage.
  • Disable fragile e2e tests.
  • Avoid PHP notices when running the e2e tests in debug mode.

Mobile

  • Make a simple version of DefaultBlockAppender.
  • Stop using classname-to-style autotransform in react native.
  • Fix SVG styles.
  • Implement Enter press to add a default block.
  • Hide keyboard when non textual block is selected.
  • Fix undo/redo on new blocks.
  • Pass the blockType prop to RNAztecView.
  • Expose unregisterBlockType.