Changeset 61251
- Timestamp:
- 11/17/2025 10:47:41 AM (3 months ago)
- Location:
- branches/6.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/block-supports/typography.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.9
-
branches/6.9/src/wp-includes/block-supports/typography.php
r61145 r61251 307 307 */ 308 308 function wp_render_typography_support( $block_content, $block ) { 309 if ( ! empty( $block['attrs']['fitText'] ) && ! is_admin() ) {309 if ( ! empty( $block['attrs']['fitText'] ) && $block['attrs']['fitText'] && ! is_admin() ) { 310 310 wp_enqueue_script_module( '@wordpress/block-editor/utils/fit-text-frontend' ); 311 311 … … 323 323 } 324 324 } 325 // fitText supersedes any other typography features 326 return $block_content; 325 327 } 326 328 if ( ! isset( $block['attrs']['style']['typography']['fontSize'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.