- Drop support for Internet Explorer 11 (#31110). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
- Increase the minimum Node.js version to v12 matching Long Term Support releases (#31270). Learn more at https://nodejs.org/en/about/releases/.
- Add
JustifyToolbar
component abstracted out of the Navigation block so can be used elsewhere.
- Added a store definition
store
for the block editor namespace to use with@wordpress/data
API (#26655).
- The block editor does not contain default colors, gradients, and font sizes anymore. If one wants to take advantage of these features, please explicitly pass colors, gradients, and/or settings or use the new __experimentalFeatures setting that is available.
- The block control value for
InnerBlocks
has been changed from__experimentalBlocks
tovalue
and is now considered a stable API. - Removed the
utility
property from the objects returned by thegetInserterItems
selector.
- Add new
__experimentalEditorSkeleton
component. This has been moved over from the@wordpress/edit-post
package, where it was an internal component calledEditorRegions
. Its class names have thus been renamed fromedit-post-editor-regions
toblock-editor-editor-skeleton
.
- Added a
label
prop toURLInput
. This allows the label to be set without needing to wrap theURLInput
in aBaseControl
.
dropZoneUIOnly
prop inMediaPlaceholder
component has been deprecated in favor ofdisableMediaButtons
prop.
- Added a new
allowedFormats
prop toRichText
to fine tune allowed formats. Deprecated theformattingControls
prop in favour of this. Also added awithoutInteractiveFormatting
to specifically disable format types that would insert interactive elements, which can not be nested.
BlockEditorProvider
no longer renders a wrappingSlotFillProvider
orDropZoneProvider
(from@wordpress/components
). For custom block editors, you should render your own as wrapping theBlockEditorProvider
. A future release will include a newBlockEditor
component for simple, standard usage.BlockEditorProvider
will serve the simple purpose of establishing its own context for block editors.
- Refactored
BlockSettingsMenu
to useDropdownMenu
from@wordpress/components
.
- Added the
addToGallery
property to theMediaUpload
interface. The property allows users to open the media modal in thegallery-library
instead ofgallery-edit
state. - Added the
addToGallery
property to theMediaPlaceholder
component. The component passes the property to theMediaUpload
component used inside the placeholder. - Added the
isAppender
property to theMediaPlaceholder
component. The property changes the look of the placeholder to be adequate to scenarios where new files are added to an already existing set of files, e.g., adding files to a gallery. - Added the
dropZoneUIOnly
property to theMediaPlaceholder
component. The property makes theMediaPlaceholder
only render a dropzone without any other additional UI. - Added a cancel link to the list of buttons in the
MediaPlaceholder
component which appears if anonCancel
handler exists. - Added the usage of
mediaPreview
for thePlaceholder
component to theMediaPlaceholder
component. - Added a an
onDoubleClick
event handler to theMediaPlaceholder
component. - Added a way to pass special
ref
property to thePlainText
component. - The
URLPopover
component now passes through all unhandled props to the underlying Popover component.
CopyHandler
will now only catch cut/copy events coming from itsprops.children
, instead of from anywhere in thedocument
.
- Improved handling of blocks state references for unchanging states.
- Updated handling of blocks state to effectively ignored programmatically-received blocks data (e.g. reusable blocks received from editor).
- Initial version.