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

Post title text formatting #20320

Open
strarsis opened this issue Feb 19, 2020 · 9 comments
Open

Post title text formatting #20320

strarsis opened this issue Feb 19, 2020 · 9 comments
Labels
[Block] Post Title Affects the Post Title Block [Type] Enhancement A suggestion for improvement.

Comments

@strarsis
Copy link
Contributor

strarsis commented Feb 19, 2020

Is your feature request related to a problem? Please describe.
It would be nice to be able to format the heading of a post.
Currently, only plain text is possible.
This can have many useful applications, from just emphasizing a piece of title to splitting it in the theme, like the Page Title Splitter plugin does with the Classic Editor in a custom way.

Describe the solution you'd like
Allow/offer text formatting for the post heading field.

Describe alternatives you've considered
HTML tags inside the heading.

@talldan talldan added the [Type] Enhancement A suggestion for improvement. label Mar 5, 2020
@talldan
Copy link
Contributor

talldan commented Mar 5, 2020

Related #19491.

@skorasaurus skorasaurus added the [Block] Heading Affects the Headings Block label Jan 27, 2021
@skorasaurus
Copy link
Member

While you're in the block editor, are you referring to the heading block or the post's title?

@skorasaurus skorasaurus added the [Status] Needs More Info Follow-up required in order to be actionable. label Oct 27, 2021
@strarsis
Copy link
Contributor Author

@skorasaurus: I mean the posts/pages title.
The new full site editing blocks also offers an explicit heading block -
but can the text inside the heading block further formatted?

@skorasaurus skorasaurus added [Block] Post Title Affects the Post Title Block and removed [Block] Heading Affects the Headings Block labels Oct 27, 2021
@skorasaurus
Copy link
Member

@skorasaurus: I mean the posts/pages title. The new full site editing blocks also offers an explicit heading block - but can the text inside the heading block further formatted?

The text inside a 'standard' heading block that's not a post title can be marked up as a link, boldened, and italicized; additional text formatting can be provided by plugins like editorskit, aka block-options.

The FSE post title block has options to change the formatting (text size, whether to change the case (all caps, all lower case), font weight (should the font be thick, thin, etc)).

@github-actions
Copy link

Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Nov 12, 2021
@devinmaeztri devinmaeztri removed the [Status] Needs More Info Follow-up required in order to be actionable. label Jan 12, 2022
@carolinan
Copy link
Contributor

@strarsis I believe this is referring to the actual post and page title at the top of the editor, not the blocks?
This "post heading" ?

the add title input field in the block editor

@strarsis
Copy link
Contributor Author

Yes. I need "micro-formatting" of that text.

@carolinan carolinan removed [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. [Block] Post Title Affects the Post Title Block labels Jul 25, 2022
@carolinan
Copy link
Contributor

carolinan commented Jul 25, 2022

You can format the title, but not with controls in the block editor itself.

  • Using theme.json, by adding styles to the post title block
  • Using the global styles setting for the post title block
  • using CSS applied to wp-block-post-title

@strarsis
Copy link
Contributor Author

Formatting the title as a whole is possible. But sometimes I may want to format a part of it, as of making a part of it bold or italic.

@skorasaurus skorasaurus added the [Block] Post Title Affects the Post Title Block label Jul 27, 2023
@ellatrix ellatrix changed the title Post heading text formatting Post title text formatting Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Title Affects the Post Title Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

5 participants