Skip to content

Conversation

@oandregal
Copy link
Member

@oandregal oandregal commented Jun 7, 2021

Related WordPress/wordpress-develop#1338

We made a change to how the typography block supports are declared, from:

supports: {
  "fontSize": true,
  "lineHeight": true
}

to

supports: {
  "typography": {
    "fontSize": true,
    "lineHeight": true
  }
}

for which we introduced a migration mechanism. This is being ported to WordPress 5.8, so we don't need to run it in the plugin if core already did it.

@oandregal oandregal force-pushed the update/avoid-migrating-typography-if-already-done-by-core branch from f475eb0 to 9e5fe29 Compare June 14, 2021 09:53
@aristath aristath merged commit 5275074 into trunk Jun 14, 2021
@aristath aristath deleted the update/avoid-migrating-typography-if-already-done-by-core branch June 14, 2021 12:11
@Mamaduka Mamaduka added this to the Gutenberg 10.9 milestone Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants