WordPress / developer-blog-content

In this GitHub space, WordPress team coordinate content to be published on the Developer Blog. Discussion and montly meetings (first Thu) in WP Slack #core-dev-blog
36 stars 2 forks source link

Customizing and extending the Formatting Toolbar #261

Open bph opened 2 months ago

bph commented 2 months ago

Discussed in https://github.com/WordPress/developer-blog-content/discussions/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](https://github.com/WordPress/developer-blog-content/assets/13915987/470cc434-5435-488a-bda1-63f0b70f8775) 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 commented 1 month ago

I'm happy to take this on.

flexseth commented 1 month ago

I'm happy to take this on.

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