WordPress 7.2 Updates Its Editor Components

WordPress 7.2 is a software release that updates its editor components, the interface elements used for creating and editing content.
WordPress 7.2 Updates Its Editor Components
Editorial Note: This article is an analytical summary inspired by the original piece published on November 10, 2026

WordPress 7.2 completes the move of @wordpress/components from Emotion to SCSS Modules, removing the package’s remaining Emotion dependencies and reducing styling runtime and build overhead. Most extensions using documented props and className require no changes, but __experimentalView’s legacy css prop now has no effect: inline declarations belong in style, while stylesheet rules, media queries and pseudo-classes should use className.

Emotion-dependent integrations need more targeted updates. Components no longer merge Emotion styles when combining class names, so fragments with overlapping declarations or order-sensitive selectors should be combined in one css() call before cx(). For Emotion styles rendered into an iframe or another document, provide a cache whose container is that document’s head; React’s CacheProvider does not configure the separate cache used by @emotion/css. The WordPress StyleProvider remains necessary for package CSS Module registration, and those styles still use runtime injection.

Extensions should declare imported Emotion packages directly, filter application-only props before they reach DOM elements, and run any required Babel transforms explicitly before @wordpress/build. Separately, __experimentalFontFamilyControl now uses @wordpress/ui; its .block-editor-font-family-control root class remains, but custom CSS overrides may need review.

Bring the latest industry updates to life. Download and test the most popular premium tools and extensions driving today’s WordPress innovations – fully accessible and ready for your next project.

Expand your technical knowledge. Browse our latest articles, performance head-to-heads, and essential workflows designed for modern creators.

Free Wordpress Builders