1.4.7
What’s Changed
- Added: When “Assign fonts to body text and headings” is enabled, the block editor canvas now receives explicit
.editor-styles-wrapperfont-family rules (the assigned family plus a system-font fallback) for body and headings, so the editor matches the front end even when the theme.json typography assignment doesn’t reach the iframe. - Fixed: Custom fonts now render inside the block editor canvas. The editor is an iframe (WP 6.3+/7.x) that ignores src-less inline styles, so
@font-faceis now injected through the editorstylessetting — the same channel the Font Library andadd_editor_style()use. - Fixed: Variable-font weight ranges with an out-of-spec low bound (e.g.
1 900) are normalized to100 900. WordPress was silently dropping these faces — and their entry in the editor font picker — when validating theme.json. - Fixed: Components module CSS now reaches the block editor canvas reliably via the editor
stylessetting. The previous inline fallback could not cross into the WP 7 iframe when the generated CSS file was unavailable. - Changed: Removed the redundant
admin_headfont print. It reached only the parent admin document, never the editor iframe, and is superseded by the editorstyleschannel. - Housekeeping: Documented a single source-of-truth matrix for the font-loading paths and removed stale per-file
@versiondocblocks that had drifted from the plugin version.
Commits
- v1.4.7: block-editor font fixes, weight normalization & housekeeping (468f285)
Full Changelog: https://github.com/wpgaurav/functionalities/compare/v1.4.6…v1.4.7
