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

Add/inline typography #69733

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Conversation

levinbaria
Copy link

Closes #69153

What?

Addition of one Inline Typography under the inline controls to have ability to change the Typography related stylings for selected text.

Why?

There are no way to change the font size, font family or other styling like letter spacing, text transform and line height of selected text in a paragraph block.

Testing Instructions

  1. Add content on the paragraph block.
  2. Select the text for which you want to change the typography.
  3. From the toolbar choose the Inline Typography under the inline controls.
  4. Apply inline typography you want.
  5. For removing the inline typography, click on the remove button.

Screenshots or screencast

After

inline-typography.mp4

@levinbaria levinbaria requested a review from ellatrix as a code owner March 27, 2025 15:05
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @levinbaria, @definegravity, @davewhitley.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: levinbaria, definegravity, davewhitley.

Co-authored-by: Mayank-Tripathi32 <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@levinbaria levinbaria marked this pull request as draft March 27, 2025 15:06
@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Mar 27, 2025
Copy link

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @levinbaria! In case you missed it, we'd love to have you join us in our Slack community.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@levinbaria levinbaria marked this pull request as ready for review March 27, 2025 15:06
@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Package] Format library /packages/format-library labels Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Package] Format library /packages/format-library [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add inline font/text styling (font size and font family) to paragraph block
2 participants