Post Featured Image
: FixSet featured image
button'sbox-shadow
transition to prevent border from flashing when focused.
PostTaxonomiesFlatTermSelector
: Deprecate bottom margin. 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 7.0 (#63491).
- Variables like
process.env.IS_GUTENBERG_PLUGIN
have been replaced byglobalThis.IS_GUTENBERG_PLUGIN
. Build systems usingprocess.env
should be updated (#61486). - 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).
- Add the editor panels visibility state to the editor store in addition to the following actions and selectors:
toggleEditorPanelEnabled
,toggleEditorPanelOpened
,removeEditorPanel
,isEditorPanelRemoved
,isEditorPanelOpened
andisEditorPanelEnabled
.
- Updated dependencies to require React 18 (45235)
- Add
isDeletingPost
selector to thecore/editor
store (#44012).
- Deprecated
cleanForSlug
that is now part of@wordpress/url
.
- Export
PostTaxonomiesFlatTermSelector
andPostTaxonomiesHierarchicalTermSelector
components to allow using them to customize the default term selector for a taxonomy.
- Removed unused
@wordpress/autop
,@wordpress/blob
and@wordpress/is-shallow-equal
dependencies (#38388).
- the
createUndoLevel
andrefreshPost
actions were marked as deprecated. They were already defunct and acting as noops.
- Removed the deprecated
resetAutosave
action (#34537). - Removed the deprecated
getAutosave
,hasAutosave
andgetBlockForSerialization
selectors (#34537).
- Upgraded React components to work with v17.0 (#29118). There are no new features in React v17.0 as explained in the blog post.
- 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/.
- Added a store definition
store
for the editor namespace to use with@wordpress/data
API (#26655).
- The
UnsavedChangesWarning
component is now using__experimentalGetDirtyEntityRecords
to determine if there were changes.
- The following components are deprecated as moved to the
@wordpress/block-editor
package:- Autocomplete,
- AlignmentToolbar,
- BlockAlignmentToolbar,
- BlockControls,
- BlockEdit,
- BlockEditorKeyboardShortcuts,
- BlockFormatControls,
- BlockIcon,
- BlockInspector,
- BlockList,
- BlockMover,
- BlockNavigationDropdown,
- BlockSelectionClearer,
- BlockSettingsMenu,
- BlockTitle,
- BlockToolbar,
- ColorPalette,
- ContrastChecker,
- CopyHandler,
- createCustomColorsHOC,
- DefaultBlockAppender,
- FontSizePicker,
- getColorClassName,
- getColorObjectByAttributeValues,
- getColorObjectByColorValue,
- getFontSize,
- getFontSizeClass,
- Inserter,
- InnerBlocks,
- InspectorAdvancedControls,
- InspectorControls,
- PanelColorSettings,
- PlainText,
- RichText,
- RichTextShortcut,
- RichTextToolbarButton,
- RichTextInserterItem,
- MediaPlaceholder,
- MediaUpload,
- MediaUploadCheck,
- MultiBlocksSwitcher,
- MultiSelectScrollIntoView,
- NavigableToolbar,
- ObserveTyping,
- PreserveScrollInReorder,
- SkipToSelectedBlock,
- URLInput,
- URLInputButton,
- URLPopover,
- Warning,
- WritingFlow,
- withColorContext,
- withColors,
- withFontSizes.
- The following actions are deprecated as moved to the
core/block-editor
store:- resetBlocks,
- receiveBlocks,
- updateBlock,
- updateBlockAttributes,
- selectBlock,
- startMultiSelect,
- stopMultiSelect,
- multiSelect,
- clearSelectedBlock,
- toggleSelection,
- replaceBlocks,
- replaceBlock,
- moveBlocksDown,
- moveBlocksUp,
- moveBlockToPosition,
- insertBlock,
- insertBlocks,
- showInsertionPoint,
- hideInsertionPoint,
- setTemplateValidity,
- synchronizeTemplate,
- mergeBlocks,
- removeBlocks,
- removeBlock,
- toggleBlockMode,
- startTyping,
- stopTyping,
- enterFormattedText,
- exitFormattedText,
- insertDefaultBlock,
- updateBlockListSettings.
- The following selectors are deprecated as moved to the
core/block-editor
store:- getBlockDependantsCacheBust,
- getBlockName,
- isBlockValid,
- getBlockAttributes,
- getBlock,
- getBlocks,
- getClientIdsOfDescendants,
- getClientIdsWithDescendants,
- getGlobalBlockCount,
- getBlocksByClientId,
- getBlockCount,
- getBlockSelectionStart,
- getBlockSelectionEnd,
- getSelectedBlockCount,
- hasSelectedBlock,
- getSelectedBlockClientId,
- getSelectedBlock,
- getBlockRootClientId,
- getBlockHierarchyRootClientId,
- getAdjacentBlockClientId,
- getPreviousBlockClientId,
- getNextBlockClientId,
- getSelectedBlocksInitialCaretPosition,
- getMultiSelectedBlockClientIds,
- getMultiSelectedBlocks,
- getFirstMultiSelectedBlockClientId,
- getLastMultiSelectedBlockClientId,
- isFirstMultiSelectedBlock,
- isBlockMultiSelected,
- isAncestorMultiSelected,
- getMultiSelectedBlocksStartClientId,
- getMultiSelectedBlocksEndClientId,
- getBlockOrder,
- getBlockIndex,
- isBlockSelected,
- hasSelectedInnerBlock,
- isBlockWithinSelection,
- hasMultiSelection,
- isMultiSelecting,
- isSelectionEnabled,
- getBlockMode =,
- isTyping,
- isCaretWithinFormattedText,
- getBlockInsertionPoint,
- isBlockInsertionPointVisible,
- isValidTemplate,
- getTemplate,
- getTemplateLock,
- canInsertBlockType,
- getInserterItems,
- hasInserterItems,
- getBlockListSettings.
- The
getAutosave
,getAutosaveAttribute
, andhasAutosave
selectors are deprecated. Please use thegetAutosave
selector in the@wordpress/core-data
package. - The
resetAutosave
action is deprecated. An equivalent actionreceiveAutosaves
has been added to the@wordpress/core-data
package. ServerSideRender
component was deprecated. The component is now available in@wordpress/server-side-render
.
- Refactor setupEditor effects to action-generator using controls (#14513)
- Remove redux-multi dependency (no longer needed/used with above refactor)
- Replace internal controls definitions with usage of new @wordpress/data-controls package (see #15435
- Added
createCustomColorsHOC
for creating a higher orderwithCustomColors
component. - Added a new
TextEditorGlobalKeyboardShortcuts
component.
EditorGlobalKeyboardShortcuts
has been deprecated in favor ofVisualEditorGlobalKeyboardShortcuts
.
- BlockSwitcher will now consistently render an icon for block multi-selections.
- Removed
jQuery
dependency. - Removed
TinyMCE
dependency. - RichText: improve format boundaries.
- Refactor all post effects to action-generators using controls (#13716)
- Restore the
block
prop in theBlockListBlock
filter.
getEditedPostAttribute
now correctly returns the merged result of edits as a partial change when given'meta'
as theattributeName
.- Fixes an error and unrecoverable state which occurs on autosave completion for a
'publicly_queryable' => false
post type.
PostPublishPanelToggle
has been removed. UsePostPublishButton
instead.
- The reusable blocks actions and selectors have been marked as experimental.
- Stop propagating to DOM elements the
focusOnMount
prop fromNavigableToolbar
components
- Remove unnecessary
locale
prop usage #11649
- Fix multi-selection triggering too often when using floated blocks.
- The
PanelColor
component has been removed.
- In
NavigableToolbar
, a property focusOnMount was added, if true, the toolbar will get focus as soon as it mounted. Defaults to false.
- Avoid unnecessary re-renders when navigating between blocks.
- PostPublishPanel: return focus to element that opened the panel
- Capture focus on self in InsertionPoint inserter
- Correct insertion point opacity selector
- Set code editor as RTL
PostPublishPanelToggle
has been deprecated in favor ofPostPublishButton
.
- Reactive block styles.
- Adjust a11y roles for menu items, and make sure screen readers can properly use BlockNavigationList (#11431).
- Remove
findDOMNode
usage from theInserter
component. - Remove
findDOMNode
usage from theBlock
component. - Remove
findDOMNode
usage from theNavigableToolbar
component.
- The Reusable blocks Data API is marked as experimental as it's subject to change in the future (#11230).
- Tweak the vanilla style sheet for consistency.
- Fix the "Copy Post Text" button not copying the post text.
- The
labels.name
property has been removed fromMediaPlaceholder
in favor of the newlabels.instructions
prop. - The
UnsavedChangesWarning
component no longer accepts aforceIsDirty
prop. mediaDetails
in object passed toonFileChange
callback ofmediaUpload
. Please usemedia_details
property instead.
- In
MediaPlaceholder
, provide default values for title and instructions labels when allowed type is one of image, audio or video. - New actions
lockPostSaving
andunlockPostSaving
were introduced (#10649). - New selector
isPostSavingLocked
was introduced (#10649).
- Add animated logo to preview interstitial screen.
- Tweak the editor styles support.
- Made preview interstitial text translatable.
- The
checkTemplateValidity
action has been removed. Validity is verified automatically upon block reset.
PanelColor
has been deprecated in favor ofPanelColorSettings
.
- Added
onClose
prop toURLPopover
component.
getColorName
has been removed. UsegetColorObjectByColorValue
instead.getColorClass
has been renamed. UsegetColorClassName
instead.- The
value
property in color objects passed bywithColors
has been removed. Usecolor
property instead. RichText
getSettings
prop has been removed. TheunstableGetSettings
prop is available if continued use is required. Unstable APIs are strongly discouraged to be used, and are subject to removal without notice, even as part of a minor release.RichText
onSetup
prop has been removed. TheunstableOnSetup
prop is available if continued use is required. Unstable APIs are strongly discouraged to be used, and are subject to removal without notice, even as part of a minor release.RichTextProvider
has been removed. Please usewp.data.select( 'core/editor' )
methods instead.
- The
checkTemplateValidity
action has been deprecated. Validity is verified automatically upon block reset. - The
UnsavedChangesWarning
componentforceIsDirty
prop has been deprecated.
- Add editor styles support.
- The
wideAlign
block supports hook has been removed. UsealignWide
instead. fetchSharedBlocks
action has been removed. UsefetchReusableBlocks
instead.receiveSharedBlocks
action has been removed. UsereceiveReusableBlocks
instead.saveSharedBlock
action has been removed. UsesaveReusableBlock
instead.deleteSharedBlock
action has been removed. UsedeleteReusableBlock
instead.updateSharedBlockTitle
action has been removed. UseupdateReusableBlockTitle
instead.convertBlockToSaved
action has been removed. UseconvertBlockToReusable
instead.getSharedBlock
selector has been removed. UsegetReusableBlock
instead.isSavingSharedBlock
selector has been removed. UseisSavingReusableBlock
instead.isFetchingSharedBlock
selector has been removed. UseisFetchingReusableBlock
instead.getSharedBlocks
selector has been removed. UsegetReusableBlocks
instead.editorMediaUpload
has been removed. UsemediaUpload
instead.- Change how required built-ins are polyfilled with Babel 7 (#9171). If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using core-js or @babel/polyfill will add support for these methods.
DocumentTitle
component has been removed.getDocumentTitle
selector (core/editor
) has been removed.
RichTextProvider
flagged for deprecation. Please usewp.data.select( 'core/editor' )
methods instead.
- The
PostTextEditor
component will respect its in-progress state edited value, even if the assigned prop value changes.