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 Dropcap Customization to UI #65237

Open
alexdeborba opened this issue Sep 11, 2024 · 2 comments
Open

Add Dropcap Customization to UI #65237

alexdeborba opened this issue Sep 11, 2024 · 2 comments
Labels
[Block] Paragraph Affects the Paragraph Block [Type] Enhancement A suggestion for improvement.

Comments

@alexdeborba
Copy link

What problem does this address?

The current Dropcap setting in WordPress is somewhat hidden within the Typography settings, leading to confusion. Users might mistakenly assume that changes in Typography will only affect the Dropcap, but they actually apply to the entire paragraph. For media publishers, book authors, and academic scholars, Dropcaps often require distinct styling such as different fonts, sizes, colors, or other decorative elements.

Currently, achieving these styles involves using custom CSS or modifying the theme.json file, which is not user-friendly for those without technical knowledge. Additionally, the Dropcap customization is not available at a global level, limiting the design flexibility.

What is your proposed solution?

I propose that the editor UI includes a dedicated option for customizing Dropcaps, allowing users to easily select fonts, sizes, colors, and other styles directly from the editor. This enhancement would provide a more intuitive and accessible way for users to style Dropcaps without needing to resort to custom CSS or theme.json modifications. It would make the Dropcap feature more versatile and beneficial, particularly for creating specialized content like academic templates (e.g., Abstract sections with distinct Dropcap styles).

Implementing this in the UI would provide more flexibility and control to users, enhancing the design experience across different use cases.

@alexdeborba alexdeborba added the [Type] Enhancement A suggestion for improvement. label Sep 11, 2024
@mtias mtias added the [Block] Paragraph Affects the Paragraph Block label Sep 11, 2024
@mtias
Copy link
Member

mtias commented Sep 11, 2024

Related #36122.

A while ago we discussed with @jasmussen some options for dropcap customization. There were some mockups we tried as well that I can't find at the moment. I think it'd be very cool to support but it has been difficult to prioritize among so many other things.

@jasmussen
Copy link
Contributor

Indeed! There are mockups in #51481. Here's one piece:

Screenshot 2024-09-12 at 09 21 57

Coming back to this today, I would like to revisit the drop cap toggle in the Typography panel itself to look different, but there are some ideas in the drop cap flyout that are worth looking at.

#51480 is also relevant as it features an intentionally very similar interface:

image

Figma.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Paragraph Affects the Paragraph Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants