Directory

Customizing and extending the Formatting Toolbar · Issue #261 · WordPress/developer-blog-content · GitHub
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

Customizing and extending the Formatting Toolbar #261

Open
bph opened this issue May 2, 2024 Discussed in #255 · 2 comments
Open

Customizing and extending the Formatting Toolbar #261

bph opened this issue May 2, 2024 Discussed in #255 · 2 comments

Comments

@bph
Copy link
Collaborator

bph commented May 2, 2024

Discussed in #255

Originally posted by magdalenapaciorek April 30, 2024
I'm proposing this topic (and volunteering myself as the author) because patterns similar to the one below are quite common in web design. I believe the formatting API is often overlooked, and developers who are unfamiliar with it might struggle to implement such designs.

block-formatting-toolbar

The initial plan for the article:

  • an overview of available formats with examples of how they can be used (e.g., adding an inline image to the citation in the Quote Block)
  • how to unregister default formats
  • how to add a basic format, similar to the one shown in the screenshot
  • how to implement more complex format controls, such as the one in the Language Format, where a click opens a popover with multiple options.
@magdalenapaciorek
Copy link

I'm happy to take this on.

@flexseth
Copy link

flexseth commented May 5, 2024

I'm happy to take this on.

+1 - happy to see this, hidden gem in the toolbar!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants