Editor: Fix writingMode support in dynamic blocks.
Adds missing handling for the `typography.writingMode` property to the style engine, so that dynamic blocks correctly render text orientation styles on the site frontend. Props wildworks, aaronrobertshaw, poena, get_dave, ndiego. Fixes #62189. See #59306. Built from https://develop.svn.wordpress.org/trunk@59199 git-svn-id: http://core.svn.wordpress.org/trunk@58594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
324f713adf
commit
f53eb5b29b
|
@ -25,6 +25,7 @@
|
|||
* @since 6.4.0 Added support for background.backgroundImage.
|
||||
* @since 6.5.0 Added support for background.backgroundPosition,
|
||||
* background.backgroundRepeat and dimensions.aspectRatio.
|
||||
* @since 6.7.0 Added support for typography.writingMode.
|
||||
*/
|
||||
#[AllowDynamicProperties]
|
||||
final class WP_Style_Engine {
|
||||
|
@ -305,6 +306,12 @@ final class WP_Style_Engine {
|
|||
),
|
||||
'path' => array( 'typography', 'letterSpacing' ),
|
||||
),
|
||||
'writingMode' => array(
|
||||
'property_keys' => array(
|
||||
'default' => 'writing-mode',
|
||||
),
|
||||
'path' => array( 'typography', 'writingMode' ),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.7-beta2-59198';
|
||||
$wp_version = '6.7-beta2-59199';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue