Gutenberg

Описание

Гутенберг — больше, чем редактор. Сейчас редактор находится в центре внимания, и в конечном итоге проект повлияет на весь опыт публикаций, включая настройку (кастомизации — следующий этап направления).

Узнайте больше о проекте.

Сфокусируйся на редактировании

Редактор стремится дать новый опыт работы с страницами и записями для создания разнообразных публикаций, и имеющиеся «блоки» облегчат сегодня работу с шорткодами, произвольным HTML, или «таинственным фаршем» встраиваний (embed). — Мэтт Мулленвег

Одна вещь, которая отличает WordPress от других систем, заключается в том, что он позволяет создавать яркие макеты записей — какие вы можете себе представить, но только если вы знаете HTML и CSS и создаете свою собственную произвольную ВП тему. Подумайте о редакторе — как инструменте, позволяющем писать разнообразные записи и создавать красивые макеты; мы можем превратить WordPress во что-то, что пользователи любят, а не то, что они выбирают, потому что это то, что используют все остальные.

Гутенберг рассматривает редактор как нечто большее, чем поле с контентом, пересматривая макет, который был почти неизменен в течение почти десятилетия. Это позволяет нам целостно проектировать современный опыт редактирования и построить фундамент для грядущих событий.

Вот почему мы смотрим на весь экран редактирования, а не только на поле содержимого:

  1. Блок объединяет несколько интерфейсов. Если мы добавим, что-то поверх существующего интерфейса будет сложнее добавить, а не удалить его.
  2. Пересматривая интерфейс, мы можем модернизировать процесс написания, редактирования и публикации, с удобством использования и простотой, принося пользу как новым, так и постоянным пользователям.
  3. Когда одиночный блок занимает центральное место, он демонстрирует четкий путь для разработчиков, чтобы создавать премиальные блоки, превосходящие как шорткоды, так и виджеты.
  4. Обдумывание всего интерфейса закладывает прочную основу для следующего шага: полной настройки сайта.
  5. Взгляд на полноценный экран редактора также дает нам возможность кардинально модернизировать фундамент и предпринять шаги в направлении более гибкого и будущего использования JavaScript, который полностью использует API-интерфейс WordPress REST.

Блоки

Блоки — это объединяющая эволюция того, что сейчас повсеместно в движке: шорткоды, встраивания (embeds), виджеты, форматы записей, произвольные типы записей, настройки тем, мета-боксы и другие элементы форматирования. Они охватывают широту функциональности, на которую способен WordPress, с ясностью последовательного пользовательского опыта.

Представьте себе произвольный блок: “сотрудник“, который автор может перетащить на страницу «Обо мне», и автоматически отображать изображение, имя и биографию. Целая вселенная плагинов, которые расширяют WordPress таким же образом. Простые меню и виджеты. Пользователи, которые могут мгновенно понять и использовать WordPress — и 90% плагинов. Это позволит вам легко создавать красивые записи, такие как в этом примере.

Посмотрите FAQ — для поиска ответов на наиболее распространенные вопросы о проекте.

Совместимость

Записи обратно совместимы, и шорткоды будут работать. Мы постоянно изучаем, как могут быть адаптированы узкоспециализированные метабоксы, и рассматриваем решения, начиная от плагина отключения Gutenberg, чтобы автоматически определять, загружать ли Gutenberg или нет. Хотя мы хотим убедиться, что новый опыт редактирования от написания до публикации является удобным для пользователя, мы стремимся найти хорошее решение для узкоспециализированных существующих сайтов.

Этапы Гутенберга

Гутенберг имеет три запланированных этапа. Первый, нацеленный на включение в WordPress 5.0, фокусируется на опыте редактирования записей и реализации блоков. На этом начальном этапе основное внимание уделяется подходу, основанному на содержимом. Использование блоков, как описано выше, позволяет сосредоточиться на том, как будет выглядеть ваш контент без отвлечения на другие настройки конфигурации. Это в конечном итоге поможет всем пользователям представить свой контент привлекательным, непосредственным и визуальным.

Эти основополагающие элементы проложат путь для второго и третьего этапов, запланированных на следующий год, выйти за рамки записей в шаблоны страниц и, в конечном счете, полностью настроить сайт.

Gutenberg — это большие перемены, и будет существовать путь обеспечения того, чтобы существующие функциональные возможности (например, шорткоды и мета-боксы) продолжали работать, позволяя разработчикам эффективно использовать время и пути для перехода. В итоге, он откроет новые возможности для разработчиков плагинов и тем, чтобы лучше обслуживать пользователей с помощью более привлекательного и визуального опыта, который использует набор инструментов, поддерживаемый ядром.

Авторы

Гутенберг построен многими участниками и волонтерами. Пожалуйста, просмотрите полный список участников на CONTRIBUTORS.md.

Блоки

Этот плагин предоставляет 13 блоков.

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

Часто задаваемые вопросы

Как я могу отправить отзыв или получить помощь с ошибкой?

Мы будем рады услышать ваши отчеты об ошибках, предложения по функционалу и любые другие отзывы! Перейдите к странице вопросов GitHub, чтобы найти существующие вопросы или открыть новую тему. Хотя мы попытаемся сортировать проблемы, описанные здесь на форуме плагинов, вы получите более быстрый ответ (и уменьшите дублирование), оставив все в репозитории GitHub.

Как я могу внести свой вклад?

Мы называем этот редактор проектом «Гутенберг», потому что это большое начинание.
Мы работаем над этим каждый день на GitHub, и мы будем рады если вы поможете нам в его создании.
Чтобы получить обратную связь — проще всего присоединиться к нам на нашем Slack канале, #core-editor.

Смотри также CONTRIBUTING.md.

Где я могу больше узнать о Гутенберге?

Отзывы

04.10.2019
Early Gutenberg was bad enough. Now with 6.60 NOTHING works! I have disabled my entire site, every single plugin, and used 4 alternative themes. NOTHING! When I try "ADD NEW PAGE" I get the "WHITE SCREEN OF DEATH." When I hit "EDIT" on an existing page I get "WHITE SCREEN OF DEATH." Sorry to be so harsh but is somebody at least testing this live? Thing is I'm beginning to hate Word Press for allowing this frustrating, UNuser friendly, time killer plugin to hang on. Put Gutenburg and everyone else out of their misery. Let it DIE and just start over!
04.10.2019
At the time of this review the Classic Editor plugin - which allows you to go back to the old editor instead of using Gutenberg - has 5+ million active installations and rising, and the Disable Gutenberg plugin has 400,000+ active installations and rising. Gutenberg should be an optional plugin like all other block editors. Adding it to core WordPress and forcing it on us was a terrible misstep. I hope this gross error in judgement will be remedied soon.
03.10.2019
This core plugin has become the most important selling feature for new WordPress clients. User can now create really compelling pieces of content without having to rely on designer and/or developer for a simple but nicely styled page.
02.10.2019
This plugin does nothing, but only PAIN: 1. content editing is entirely slowed down!!! 2. revisions list functionality was cut off in this editor 3. there's NO ANY actual new functionality - just another wix.com clone!!! 4. totally unstable 5. this editor is DRAMATICALLY inconvenient for the most of my employees and my clients!!! GARBAGE!!! GARBAGE!!! GARBAGE!!! Please REMOVE this garbage from the further WordPress development!
02.10.2019
I will try not to add to what has already been said 1,000 times, but I might be echoing stuff that was already said. It would be easy to complain and just say that Gutenberg sucks. While it does suck, I'm going to try to explain some of my complaints. First, it is clear that this wasn't really planned well. It wasn't well thought out. Most lead developers in a project that failed to this degree would have been fired. Instead, the team seems to double down on it. Fine, I want to believe. I want to love it. But I can't. Why? Because I love WP and I want it to be as good as it ever has been, but this plugin is a reflection of the culture change in the wp community. Where a few decide that they will dictate what is better for others even though almost the majority disagree. The reviews and the downloads clearly show that most people don't like it. Most people don't want it. Why not make it a plugin and let it be a plugin for a while until it was truly amazing. For example, here are some basic things that are just broken. Selecting text with the keyboard does not work well. I could/can highlight text with the keyboard in the classic editor and cut and paste as I wish. Can't do it with this, especially if the text spans 2 blocks or more. Pressing enter creates a new block, automatically. WTF? who decided this was a good idea? Are you forcing us to use line breaks to keep certain pieces of text together in a single block? Ugh. You could in the classic editor, select several paragraphs and apply settings to them all at once. That is not possible now. There are many inconsistencies as well. For example: The paragraph block has text and background properties for color. You can change that. GREAT! But you can't change the same settings for a list block. What!? The floating toolbar covers text that you may (and likely) need to read as you are typing the next line or paragraph, so you have to do some funny acrobatics to select and deselect different blocks just to re-read the "paragraph" above. The link button was never great, but it worked fine. Now it's wonky. There was an opportunity to add classes and other properties in the "add link" button, but that was totally overlooked, so not only do we have to deal with a funky link add button, but we *still* have to go into the code to assign properties like nofollow or other rel properties to that link. At the end, this is forcing us to do exactly the opposite of what it was supposed to do. It was supposed to make it easier to do things without touching code, but more than ever I find myself having to Go to the code view just to edit basic stuff. For a long time, we got used to TinyMCE because it works. That's why it's the most widely used editor ever, and why if it's not used, it's emulated. Almost every significant open source project uses it or a variation of it. It's easy to use, it's understandable, and people get it. With WordPress being the dominant player in the space, was it really necessary to flip this upside down? Why not improve it one step at a time. As it stands now, even as I write this, it seems that Gutenberg development didn't really have the necessary planning, resources, and testing as it should have. For average users (the majority of users), this isn't a tiny component of WordPress. The editing window *is* the core of WordPress. It's how we press those words. It's how we build most of any site. A site without content is just a deployed theme, so *content* makes everything and this broke the content flow for most people. To look at shitty services like Squarespace, Wix, and Weebly as models of what is "modern" and what WP should have done is ludicrous. I am still using Gutenberg because I believe this is how WP is moving and there's no turning back. And for new users that I introduce to WordPress, I don't even tell them about the classic editor at first. I bite my lip and my tongue and try not to lash out and complain when they can't do something that they expect to work certain way. I remain hopeful that this will be fixed soon. They don't know any different, but after some time, I've been forced (every single time) to introduce them to the classic editor and to tell them the story of how it used to be. Then they get it and they say... oh this works so much better. This is what I was expecting. But then they want a few "cool" things that Gutenberg has. Emphasis on the "" around cool, because that's what they are, "cool" not necessary. Like drop cases on a paragraph. Or bumping paragraphs up or down. It's because of this total mix of great ideas and poor implementation that I can't rate this at 1 star, but I also can't rate it at 4 or 5, I wish I could do 2.5 and split that into 2 for effort, and .5 for execution. And it's for this reason that I have and probably will continue to have a love/hate relationship with the Gutenberg editor for years to come.
Посмотреть 2 901 отзыв

Участники и разработчики

«Gutenberg» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Gutenberg» переведён на 44 языка. Благодарим переводчиков за их работу.

Перевести «Gutenberg» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

Enhancements

New APIs

  • Implement EntityProvider and use it to refactor the meta block attributes.

Experimental

Bugs

Performance

Various

Documentation

Mobile