Skip to content

Change font size option in Formatting Toolbar #711

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

Closed
keotic opened this issue Apr 20, 2024 · 3 comments
Closed

Change font size option in Formatting Toolbar #711

keotic opened this issue Apr 20, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@keotic
Copy link

keotic commented Apr 20, 2024

Describe the solution you'd like
Add Font Size selection button to the Formatting Toolbar

@keotic keotic added the enhancement New feature or request label Apr 20, 2024
@YousefED
Copy link
Collaborator

YousefED commented May 1, 2024

You can do this yourself by customizing the formatting toolbar: https://www.blocknotejs.org/examples/ui-components/formatting-toolbar-buttons

@YousefED YousefED closed this as completed May 1, 2024
@fiderosado
Copy link

fiderosado commented Apr 19, 2025

I'm trying to add or create a custom button to change the text size, but I don't know how to start. I'm getting multiple errors about the fontSize parameter not being in the scheme, and then I get another error, fontSize in mask, getMaskType...

Custom Button Font Size for FormattingToolbar #1619

@fiderosado
Copy link

Please add font size to styleSchema

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

No branches or pull requests

3 participants