Skip to content

Add fontsize format#80

Merged
ajitbohra merged 6 commits intodevfrom
format/font-size
Jan 28, 2026
Merged

Add fontsize format#80
ajitbohra merged 6 commits intodevfrom
format/font-size

Conversation

@ajitbohra
Copy link
Member

Summary

Allow using different sizes for text.

Screen Recording

blablablocks-font-size.mov

@github-actions
Copy link

github-actions bot commented Jan 23, 2026

Preview via Cloudflare R2 Storage

⚡️WordPress Playground Preview
🚀 Build zip file Download

I will update this comment with the latest preview links as you push more changes to this PR.

Note

The preview sites are created using WordPress Playground. You can add content, edit settings, and test the pull request as you would on a real site, but please note that changes are not saved between sessions.

@ajitbohra ajitbohra changed the base branch from main to dev January 24, 2026 13:42
@ajitbohra ajitbohra added the enhancement New feature or request label Jan 24, 2026
@Verma-Punit
Copy link
Contributor

@ajitbohra I noticed a few issues in the font size selection. When a preset font size (like XL or M) is selected, it works fine. However, if I switch from a preset to custom the custom size doesn’t apply and the reset option also doesn’t work. If I don’t select any preset and directly set a custom font size it works as expected.

Screen.Recording.2026-01-27.at.2.19.19.PM.mov

So the issue seems to be with custom styles getting overridden. We will need to either add !important or improve the CSS targeting to make sure the custom font size applies correctly.

Screen.Recording.2026-01-27.at.2.32.03.PM.mov

…eplace method and clearing conflicting class
@ajitbohra
Copy link
Member Author

@Verma-Punit issue was due to having a preset class and a custom font-size. We now clear the preset class when setting the custom font-size.

Should now work as expected.

@Verma-Punit
Copy link
Contributor

@ajitbohra Reset button not working

@ajitbohra
Copy link
Member Author

@Verma-Punit fixed along with some code refactor and UI refinements

Copy link
Contributor

@Verma-Punit Verma-Punit left a comment

Choose a reason for hiding this comment

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

Ship it 🚀

@ajitbohra ajitbohra merged commit 51756af into dev Jan 28, 2026
2 checks passed
@ajitbohra ajitbohra deleted the format/font-size branch January 28, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants