Skip to content

Commit

Permalink
[Mobile] - Font size - Only set font sizes for block based themes (#3…
Browse files Browse the repository at this point in the history
…6570)

* Mobile - Font size - Only set font size for block based themes

* Mobile - Update CHANGELOG
  • Loading branch information
geriux committed Nov 18, 2021
1 parent b8fd765 commit a61153b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function getBlockTypography(
}
}

if ( blockStyleAttributes?.fontSize ) {
if ( blockStyleAttributes?.fontSize && baseGlobalStyles ) {
const mappedFontSize = find( fontSizes, {
slug: blockStyleAttributes?.fontSize,
} );
Expand Down
1 change: 1 addition & 0 deletions packages/react-native-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ For each user feature we should also add a importance categorization label to i
## Unreleased
- [*] [Embed block] Included Link in Block Settings [#36099]
- [**] Fix tab titles translation of inserter menu [#36534]
- [*] [Media&Text block] Fix an issue where the text font size would be bigger than expected in some cases [#36570]

## 1.66.0
- [**] [Image block] Add ability to quickly link images to Media Files and Attachment Pages [#34846]
Expand Down

0 comments on commit a61153b

Please sign in to comment.