4.0 is at the release candidaterelease candidate One of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). stage, which can be grabbed here.
Our 40th release is going to be a long one. Main changes are the introduction of a new data structure for RichText that will allow building sophisticated interfaces for inline content that we can make portable and relevant to mobile too.
It also has improvements for blocks, a way to set a different color as the overlay for Cover Image, a new font size picker that is clearer to use and scales much better, a cool Pullquote style variation, etc. This crosses a lot of the pending items.
There are also several interface improvements, including the ability to search categories, post locking when multiple people interact with the editor, better handling of floats, and many more.

4.0 🍯
- Add ability to change overlay color in Cover Image.
- Introduce new Font Size Picker with clear labels and size comparison.
- Introduce new RichText data structure to allow better manipulation of inline content.
- Add Pullquote style variation and color palette support.
- Add support for post locking when multiple authors interact with the editor.
- Add an alternative block appender when the container doesn’t support the default blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. (paragraph).
- Improve the UIUI User interface and interactions around floats.
- Add option to skip PublishSidebar on publishing.
- Add support for shortcode embeds that enqueue scripts.
- Add a button to exit the Code Editor.
- Introduce a reusable ResizableBox component.
- Style nested
<ul>s with circles instead of normal bullets. - Show hierarchical terms sorted by name and allow them to be filterable through search. Hide the filter box if there are fewer than 8 terms.
- Improve messaging around invalidinvalid A resolution on the bug tracker (and generally common in software development, sometimes also notabug) that indicates the ticket is not a bug, is a support request, or is generally invalid. block detection.
- Use text color for links when a paragraph has a color applied.
- Allow extended usage of the controls API in resolvers within data layer.
- Ensure that a default block is inserted (and selected) when all other blocks are removed.
- Enhance the block parser to support multiple type, in accordance with JSONJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. schema.
- Add a larger target area for resize drag handles.
- Add media button to classic block.
- Add control to toggle responsive mechanism on embed blocks.
- Update sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. design to have a lighter feeling.
- Update resolvers in data layer to rely on controls instead of async generators.
- Set template validity on block reset.
- Remove dirty detection from Meta Boxes to reduce false positives of “unsaved changes”.
- Show “Publish: Immediately” for new drafts by inferring floating date.
- Add a slight transition to Full Screen mode.
- Improve spacing setup in Gallery Block.
- Remove additional side padding from blocks.
- Improve the reusable blocks “Export as JSON” link.
- Enforce a default block icon size to allow flex alignment and fix unaligned labels.
- Consider single unmodified default block as empty content.
- Only display URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org input field when “Link To” is set for Image Block.
- Make backspace behavior consistent among Quote, Verse and Preformatted.
- Expose refresh method from Dropdown component.
- Omit
styletags when pasting. - Use best fitting embed aspect ratio if exact match doesn’t exist.
- Avoid dispatching undefined results in promise middleware.
- Change keyboard shortcut for removing a block to access + z.
- Replace the Full Screen mode “x” icon with a back arrow.
- Make drag handle visible on hover while in nested contexts.
- Pass the tab title to the TabPanel component for situations where it may need to be highlighted.
- Allow setting no alignment when a default alignment exists.
- Improve title and appender margin fix.
- Avoid focusing on the close button on modal and try a modal appear animation.
- Change the URL Input label to match Classic.
- Adjust media upload source for RichText.
- Handle edge cases in with-constrained-tabbing and add tests.
- Set a consistent input field width in media placeholders.
- Add a hover state to sidebar panel headers.
- Change settings title from “Writing” to “View”.
- Convert the “tools” menu group into internal plugin.
- Normalize data types and fix default implementation in parser.
- Cleanup CSSCSS Cascading Style Sheets. specificity issues on Button component for portability.
- Display error when attempting to embed URLs that can’t be embedded and don’t generate a fallback.
- Update some edit and save button labels and styles for consistency.
- Make “Manage Reusable Blocks” a link instead of an icon button.
Bug Fixes
- Fix issue with Enter and the Read More block.
- Fix menu item hover colors.
- Fix issue with editor styles and fullscreen mode.
- Fix popover link repositioning.
- Fix Space Block layout issues on small screens.
- Fix custom classNames for dynamic blocks.
- Fix spacing of post-publish close button in other languages.
- Fix Async Generator resolvers resolution.
- Fix issue with Spacer Block not being resizable when using unified toolbar and spotlight mode.
- Fix grammar.md manifest entry and update data docs.
- Fix issue with region focus on the headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. area on IE11.
- Fix reusable block broken button dimensions on IE11.
- Fix issues with dropping blocks after dragging when calculating new block index.
- Fix InnerBlock templates sync conditions to avoid a forced locking.
- Fix typo in @wordpress/api-fetch README.md.
- Fix regression with Button Block placeholder text.
- Fix dropzone issue in Edge (event.dataTransfer.types not being an array).
- Fix documentation for registerBlockStyle arguments and clarify getSaveElement filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output..
- Fix raw transforms not working in Edge when pasting content.
- Fix a regressionregression A software bug that breaks or degrades something that previously worked. Regressions are often treated as critical bugs or blockers. Recent regressions may be given higher priorities. A “3.6 regression” would be a bug in 3.6 that worked as intended in 3.5. where wide images would cause horizontal scrollbars.
- Fix issue with gallery margin while typing a caption.
- Fix Block alignment CSS rules affecting nested blocks.
- Fix CSS issue with nested paragraph placeholder.
- Fix links in docs and add documentation for isPublishSidebarEnabled.
- Fix shortcodeShortcode A shortcode is a placeholder used within a WordPress post, page, or widget to insert a form or function generated by a plugin in a specific location on your site. package dependencies.
- Fix overscroll issues locking scroll up on long pages.
- Fix reference to SVG component in docs.
- Fix Table Block header and body column misalignment.
- Fix an issue where inserting like breaks would throw an error.
- Fix regressions with placeholder text color (Cover Image, captions).
- Fix Editor Styles regression.
- Fix faulty Jed state after setLocaleData.
- Fix small line-height issue in editor style.
- Fix Pullquote margin regressions.
- Fix issues with File Block and new RichText structures.
- Fix Writing Flow E2E test.
- Fix issues with “tips” popup margins.
- Fix issue with mentions after rich text value merge.
- Fix clipping issue with Instagram embed.
- Fix ESNext example code.
- Fix usage of tabs / spaces in parser code.
- Fix Classic Block toolbar regression.
- Fix issues with Table Block alignments.
- Fix inserter misalignment regression.
Other Changes
- Minor i18n fixes after deprecations were removed.
- Rename parameter from
mapStateToPropstomapSelectToPropsin withSelect. - Rename AccessibleSVG to SVG and make it work with ReactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces.
https://reactjs.org Native. - Change createObjectUrl to createBlobURL.
- Clean up Sass variables, comments, reduce complexity.
- Move Classic Block to packages.
- Move HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. Block into the blocks library package.
- Move embed scripts into the body in preview documents.
- Ensure that the return value of apiFetch is always a valid Promise object in Firefox.
- Allow negative numbers in order field for Page Attributes.
- Make sure the demo page loads without marking itself as having changes.
- Refactor MediaUpload, MediaPlaceholder, and mediaUpload to support arrays with multiple supported types.
- Add new icons to dashicons package.
- Add link to “add_theme_support” docs.
- Remove glob and just include necessary files.
- Remove unused isButton prop.
- Remove Vine embed.
- Replace length check with RichText.isEmpty in Image Block.
- Replace TinyMCE function to decode entities with existing Gutenberg package.
- Extract the edit-post module as a reusable package.
- Pass editor initial settings as direct argument.
- Pass feature image ID to media upload component.
- Pass all available properties in the media object.
- Replace element-closest with registered vendor script.
- Add new handbook introduction and docs about “blocks as the interface”.
- Add utils to the wp-data script dependencies.
- Disable alternate diff drivers in setup script.
- Clarify RichText.Content readme docs.
- Document
isDefaultoption for block styles. - Update Panel component documentation.
- Update full post content test fixtures.
- Add ESLint rule about not allowing string literals in IDs.
- Add a test for the new Code → Preformatted transform and use snapshots.
- Add E2E test to visit demo page and verify errors.
- Add E2E tests for list creation.
- Update Redux to the latest version.
Mobile
- Add the React Native entry point to more packages.
- Need to define isRichTextValueEmpty for mobile.
- Have Travis run mobile tests that use the parent code.
- Wire onEnter to
requestHTMLWithCursorcommand in RichText.
Deprecations removed with this version.