URLInput
: Remove deprecated__nextHasNoMarginBottom
prop and promote to default behavior (#64282).LineHeightControl
: Remove deprecated__nextHasNoMarginBottom
prop and promote to default behavior (#64281).
FontFamilyControl
: Add__nextHasNoMarginBottom
prop for opting into the new margin-free styles (#64280).
- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases (#31270). Learn more about Node.js releases.
- Replaced
classnames
package with the faster and smallerclsx
package (#61138).
FontSizePicker
: Remove deprecated__nextHasNoMarginBottom
prop and promote to default behavior (#58702).
- Deprecated
__experimentalRecursionProvider
and__experimentalUseHasRecursion
in favor of their new stable counterpartsRecursionProvider
anduseHasRecursion
.
- Deprecated the
useSetting
function in favor of newuseSettings
one that can retrieve multiple settings at once (#55337).
- Deprecated
CopyHandler
, absorbed intoWritingFlow
.
- The Deprecated multiline prop on RichText will now fall back to using multiple rich text instances instead of a single multiline instance. The prop remains deprecated.
- Embed the
ObserveTyping
behavior within theBlockList
component making to simplify instanciations of third-party block editors.
- Add
HeadingLevelDropdown
component for selecting H1-H6 and paragraph HTML tags from the block toolbar.
- Fluid typography: custom font-sizes should use max viewport width (#51516).
MediaPlaceholder
: Remove the undocumentedonHTMLDrop
prop (#49673).
- Renamed utility function
immutableSet
tosetImmutably
(#50040).
ImageSizeControl
: Update image size label (#49112).
SpacingSizesControl
: fix white dot on thumb (#48574).
LinkControl
: fix scrollbar displayed on toggle link settings (#47986).
BlockInspector
: Fix browser warning error when block is not selected (#46875).- Move component styles needed for iframes to content styles (#47103).
- Block Inserter: Correctly apply style to the default inserter (#47166).
- List View: Fix crash when the first template-parts is deleted width del key (#47227).
- Updated dependencies to require React 18 (45235)
URLInput
: therenderSuggestions
callback prop now receivescurrentInputValue
as a new parameter (45806).- Fluid typography: add configurable fluid typography settings for minimum font size to theme.json (#42489).
URLInput
: Add__nextHasNoMarginBottom
prop for opting into the new margin-free styles (46692).
SpacingSizesControl
: Change ARIA role fromregion
togroup
to avoid unwanted ARIA landmark regions (#46530).FocalPointPicker
: Fix layout misalignment when placed in theBlockInspector
(#46631).
BlockLockModal
: Move Icon component out of CheckboxControl label (#45535)- Fluid typography: adjust font size min and max rules (#45536).
InserterListItem
: Fix dragging and dropping in Firefox. (#44631)
FontSizePicker
: Update fluid utils so that only string, floats and integers are treated as valid font sizes for the purposes of fluid typography (#44847)getTypographyClassesAndStyles()
: Ensure that font sizes are transformed into fluid values if fluid typography is activated (#44852)BlockPopover
: Ensure that padding and margin visualizers display in correct position even when scrolling past block. (#44998)
- You can now drop files/blocks/HTML on unmodified default blocks to transform them into corresponding blocks (#44647).
FontSizePicker
: Deprecate bottom margin style. Add a__nextHasNoMarginBottom
prop to start opting into the margin-free styles that will become the default in a future version, currently scheduled to be WordPress 6.4 (#43870).
- Fix focus trap on certain
input
elements when navigating within a block with the left/right arrow keys (#41538).
BlockNavigationDropdown
is now deprecated. Use theDropdown
component from the@wordpress/components
package and theListView
component from this package (#40777).ListView
no longer accepts the__experimentalFeatures
,__experimentalPersistentListViewFeatures
,__experimentalHideContainerBlockActions
, andshowNestedBlocks
props. Passing additional undocumented props through toListView
is also now disallowed. (#40777).
LineHeightControl
: Changes internal implementation to useNumberControl
, which allows enhanced interactions such as dragging to change the value. To improve consistency with other control components, the bottom margin styles on the component has been deprecated, and will be removed in a future version. To opt into this simplified margin style, set the__nextHasNoMarginBottom
prop totrue
.
- Removed unused
@wordpress/block-serialization-default-parser
,css-mediaquery
,memize
andredux-multi
dependencies (#38388).
- List View now supports selecting and dragging multiple blocks via
SHIFT
clicking items in the list #38314.
- Avoid re-rendering all List View items on block focus #35706. When List View is open Block focus time is 4 times faster in large posts.
- Render fixed number of items in List View #35706. Opening List View is 13 times faster in large posts.
- List View no longer supports the
showOnlyCurrentHierarchy
flag #35706. To display a subset of blocks, use theblocks
parameter instead.
- Upgraded React components to work with v17.0 (#29118). There are no new features in React v17.0 as explained in the blog post.
ButtonBlockerAppender
is nowButtonBlockAppender
, the original name was a typo, but is still being exported for backward compatibility.
- 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.