Опис
Гутенберг је више од уређивача. Док је тренутна усредсређеност на уређивачу, пројекат ће утицати на цео доживљај објављивања укључујући прилагођавање (следећи простор усредсређивања).
Усредсређеност на уређивање
Уређивач ће направити ново искуство грађења чланака и страна које прави писање богатог садржаја лакшим, и има „блокове“ за прављење лакшим оног што данас могу да буду кратки кôдови, прилагођени HTML или угнежђивања — Matt Mullenweg
Једна ствар која издваја Вордпрес од осталих система је да дозвољава прављење богатих распореда чланака како замислите — али само ако знате HTML и CSS и правите своје сопствене прилагођене теме. Мислећи о уређивачу као алатки која вам дозвољава писање богатих чланака и прављење прелепих распореда, можемо претворити Вордпрес у нешто што корисници воле, супротно од нечега што преузму зато што сви користе.
Гутенберг гледа на уређивач као на нешто више од поља за садржај, преиспитујући распоред који је био умногоме непромењен скоро деценију. Ово нам омогућава холистичко дизајнирање савременог доживљаја уређивања и прављење основе за ствари које долазе.
Ево зашто гледамо на цео екран за уређивање уместо само на поље за садржај:
- Блок уједињује више сучеља. Уколико то додамо преко постојећег сучеља, додаће сложеност уместо да је уклони.
- Преиспитујући сучеље, можемо осавременити доживљај писања, уређивања и објављивања, имајући у виду корисност и једноставност, која доноси корист и новим и неформалним корисницима.
- Када једно сучење блока преузме главну сцену, показује јасну путању напред за градитеље да праве премијум блокове, супериорне у односу и на кратке кôдове и виџете.
- Узимамо у обзир да цело сучење поставља основу за следеће фокус, прилагођавање целог веб места.
- Гледање на пун екран уређивача такође нам даје прилику да драматично осавременимо основу и направимо кораке напред према флуиднијом и будућности коју покреће Јаваскрипт који потпуно користи Вордпресом 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 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.
Сарадници
Гутенберг је направљен од стране многих сарадника и добровољаца. Молимо вас да погледате цео списак у CONTRIBUTORS.md.
Блокови
Овај додатак пружа 11 блокова.
- 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
ЧПП
- 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.
- Како могу да допринесем?
-
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.
- Где могу да прочитам више о Гутенбергу?
-
- Гутенберг, Тезејев брод, са примерима шта Гутенберг моће да уради у будућности
- Технички преглед уређивача
- Начела дизајнирања и најбоља пракса у дизајнирању блокова
- WP Post Grammar Parser
- Ажурирања градње на make.wordpress.org
- Документација: прављење блокова, упути и смернице
- Додатна често постављана питања
Прегледи
Сарадници и градитељи
Гутенберг је софтвер отвореног кода. Следећи људи су допринели овом додатку.
СараднициГутенберг је преведен на 44 језика. Хвала преводиоцима за њихове доприносе.
Преведите Гутенберг на свој језик.
Заинтересовани сте за градњу?
Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.
Белешка о изменама
Features
- Add the option to select the style that is automatically applied.
- Add the option to resize Cover Block .
- Allow directly setting a solid background color on Cover block.
- Add list start, reversed settings.
- Add a help panel to the inserter available in all blocks.
- Typewriter experience.
- Add circle-crop variation to Image block.
Enhancements
- Add overflow support inside block switcher.
- Update GitHub action exit codes.
- Core Data: return updated record in saveEntityRecord.
- Latest Posts Block: (no title) instead of (Untitled) for a post without a title.
- Remove borders around inserter items for blocks with children blocks.
- Add disabled block count in the block manager.
- Writing Flow:
Experiments
- Widgets Screen:
New APIs
- Add callbacks to ServerSideRenderer to handle failures with custom renderers.
- Add the block example API and use it for inserter and switcher previews.
- Enable an optional namespace parameter for hasAction & hasFilter .
Bug Fixes
- The duplicate button appears even if the block is not allowed.
- Double scrollbar appearing in full-screen mode.
- RichText: ignore selection changes during composition
- Missing default functions as props in BlockEditorProvider.
- Button block does not center on the editor.
- Guard block component against zombie state bug.
- Add truthy check for the Popover component onClose prop before calling it.
- Make InnerBlocks only force the template on directly set lockings.
- Check to ensure focus has intentionally left the wrapped component in withFocusOutside HOC.
- Correctly transform images with external sources into a gallery.
- Block toolbar appears above sidebar on medium viewports.
- Basecontrol name undefined triggring eslint-plugin TypeError.
- Image flickering & focus lose on resizing.
- Add get_item_schema function to WP_REST_Widget_Areas_Controller .
- Empty Classic Editor inside innerBlock fatal error.
- Changing month in post publish date closes the popover.
Various
- Update re-resizable dependency
- Use mixins in button styles instead of media queries.
- Fix performance tests with the introduction of the navigation mode
- RichText code improvements: #16905, #16962.
- Scripts:
- Improve the way test files are discovered.
- Improve recommended settings included in the package.
- Use the SCSS shared stylelint-config-wordpress config.
- Ignore the WordPress directory in stylelint.
- Fix: edit post sets some default block appender styles.
- Build: remove global install of latest npm.
- Project automation:
- Rewrite actions using JavaScript.
- Fix: Add first-time contributor label.
- Fix: Add milestone.
- Remove unused CSS from ColorPalette component.
Documentation
- Add examples for the lockPostSaving and unlockPostSavingactions.
- Add guidance for adding/proposing/suggesting new components to the wordpress/components npm package.
- Add section about updating package after new releases.
- Add ESNext examples to format API tutorial.
- Document server-side functions that allow registering block styles.


