Gutenberg

Description

Gutenberg est plus qu’un éditeur. Bien que l’éditeur soit au centre des préoccupations, le projet aura, à terme, un impact sur l’ensemble de l’expérience de publication incluant la personnalisation (le prochain centre d’intérêt).

Découvrez-en plus sur le projet.

L’éditorialisation comme focus principal

L’éditeur créera une nouvelle expérience de construction de pages ou d’articles qui simplifiera la rédaction de contenus enrichis. Cela passe par les « blocs » pour unifier ce qui aujourd’hui se fait avec des codes courts, du HTML personnalisé ou tout autre truc spécial dans ce genre — 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. Le bloc permet d’unifier de multiples éléments d’interface. Si nous le faisions sur l’interface existante, nous aurions ajouté de la complexité, alors qu’en la remplaçant, nous simplifions l’ensemble.
  2. En revisitant l’interface, nous modernisons l’expérience d’écriture, de modification et de publication, en nous concentrant sur l’utilisabilité et la simplicité, ce qui bénéficie à la fois aux utilisateurs futurs et actuels.
  3. En donnant une importance centrale à l’interface de blocs, nous encourageons les développeurs à créer leurs blocs dédiés, ce qui sera bien mieux que les widgets et codes courts actuels.
  4. Le fait de refondre l’ensemble de l’interface pose des fondations solides pour la prochaine étape, la personnalisation complète de votre site via le back-office et les blocs.
  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.

Les Blocs

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.

Compatibilité

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.

Les étapes de 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.

Contributeur·ices

Gutenberg est bâti par de nombreux développeur·ses et contributeur·ices. Voici la liste non exhaustive : CONTRIBUTORS.md (en anglais).

Blocs

Cette extension fournit 11 blocs.

core/archives
core/rss
core/legacy-widget
core/categories
core/block
core/latest-comments
core/search
core/shortcode
core/calendar
core/tag-cloud
core/latest-posts

FAQ

Comment puis-je envoyer des retours ou être aidé par rapport à un bug ?

Nous adorerions entendre vos retours de bugs, vos suggestions de fonctionnalités et tout autre retour ! Veuillez consulter la page de retours sur GitHub pour rechercher des problèmes existants ou pour en ouvrir un nouveau. Bien que nous essayerons de trier les problèmes signalés ici sur le forum des extensions, vous obtiendrez une réponse plus rapide (et limiterez les doublons) en gardant tout centralisé dans le répertoire GitHub.

Comment puis-je contribuer ?

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.

Voyez également CONTRIBUTING.md.

Où puis-je en savoir plus sur Gutenberg ?

Avis

Horrible

This is the WORST feature wordpress could have added. Very bulky, can't see the editor at all, not user friendly. Thankfully a plugin is available to revert, but I hope WP goes back a step to get rid of this.

Worst editor I’ve ever seen

I disable it for all my clients, it's awful and a huge mess, and it adds extra stylesheets and garbage to the sourcecode so now I have to do more work to de-register all that crap. The whole thing is a huge slap in the face. This should be an OPTIONAL PLUGIN not default.

This is the Future of WordPress

I have 3 perspectives to look at with when I'm reviewing the new editor. First, as a developer: There've been extremely frustrating times when I started developing blocks for Gutenberg. Continuously altered styling and code, catching up with all the changed bits and plugin crashes after almost every Gutenberg update were hard times. But especially after 5.5 update and above, everything has become much more fun since it's evolved nicely! As a designer: There are zillions of UX dead ends and UI bits to be improved with the new editor, but I can see with each new update team are working hard to overcome those. I see there's still much to fix but so far so good (also contributing to fix those). I developed a block library for Gutenberg, and when developing it I've put myself into user's shoes to deliver the most out of a Gutenberg experience. For example, what's lacking was indicators of what I've changed in a block, so I've placed indicators. But most of the earlier improvements I've added have become obsolete with each update of Gutenberg, which is super cool! As a user: Back in November 2018 when I had a first glance of the plugin, yeah I hated it like the most. But this is a trending concept and new direction for content editors people are slowly getting used to. And the more I used it, the more it grew on me. Today, I'm just loving it tons more times than I would love Elementor, Visual Composer or Divi. Message to the haters My suggestion is; if you didn't like this new editor at first, maybe don't come over here and puke without hesitation just yet. Give it time, you will love it 🙂
Lire les 2 797 avis

Contributeurs & développeurs

« Gutenberg » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Gutenberg” a été traduit dans 44 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Gutenberg » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

For 5.9.2:

Bug Fixes

  • Fix Regression for blocks using InnerBlocks.Content from the editor package (support forwardRef components in the block serializer).

For 5.9.1:

Bug Fixes

For 5.9.0:

Features

Enhancements

Bug Fixes

Various

Documentation

Mobile