Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using the default font for the PreFormatter/HeaderFormatter #1345

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

geriux
Copy link

@geriux geriux commented Dec 28, 2021

Currently, there's not an option to use a custom font size for the HeaderFormatter since it uses the default values for each level, as well as for the PreFormatter which uses the default monospace font.

This introduces a new configuration flag useDefaultFont that will allow to use the defaultFont for both formatters.

To test use this WordPress build.

@geriux geriux added this to the Next Stable milestone Dec 28, 2021
@geriux geriux changed the title HeaderFormatter - Add customHeadingFontSize flag Allow custom monospace font for PreFormatter and new config flag for HeaderFormatter Dec 29, 2021
Copy link

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for wrangling this @geriux 👍
I tested the generated build and the app behaves as expected. The code changes look consistent to me too 🎉

@geriux geriux merged commit 6cb31f0 into develop Jan 5, 2022
@geriux geriux deleted the feature/custom-header-font-size branch January 5, 2022 10:27
@fluiddot fluiddot mentioned this pull request Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants