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 · 10 comments
Open

Customizing and extending the Formatting Toolbar #261

bph opened this issue May 2, 2024 Discussed in #255 · 10 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!!

@justintadlock
Copy link

@magdalenapaciorek - If you need any inspiration for examples, I have quite a few: https://github.com/x3p0-dev/x3p0-ideas/tree/9d2e309ab639b169709c53260dab8377c44d47ad/resources/js/format-library The abbreviation and span (custom class) formats are more advanced and include popups for additional attribute input.

@magdalenapaciorek
Copy link

@justintadlock great examples, thank you! :)

@bph
Copy link
Collaborator Author

bph commented Sep 3, 2024

@magdalenapaciorek just wanted to check in with you on the progress of your article and if there are any blockers, I can assist you with.

@magdalenapaciorek
Copy link

I'm getting close to the finish line and should have a draft ready to share in just a few days

@ndiego
Copy link
Member

ndiego commented Oct 3, 2024

Hi @magdalenapaciorek just checking in to see how the draft is coming along. Let me know if I can help with anything.

@bph
Copy link
Collaborator Author

bph commented Oct 23, 2024

Hi there, @magdalenapaciorek Are there any blockers to your progress that I can help remove?

@magdalenapaciorek
Copy link

@ndiego , @bph thanks for checking in! Last time I wrote, I was close to finishing the draft, but unfortunately, I haven’t made any progress since then due to some health issues. I had to put the article aside for a bit, but I’m planning to get back to it soon. I don’t want to promise any specific dates just yet, but I’ll keep you updated. Thanks for your understanding! :)

@bph
Copy link
Collaborator Author

bph commented Oct 25, 2024

@magdalenapaciorek So sorry to read that you were sick, hope you are feeling better soon. Just know that, we are here if you need anything.

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

No branches or pull requests

5 participants