Additional header levels
I have a client request to add additional heading levels (h2 and h3) to the existing h1. Reading through the development process around #78 left me wondering if the addition of buttons and associated block styles was ever made modular, such that I could configure additional heading level buttons, or whether I would have to develop the entire feature from scratch.
The block attributes are kept separately in block_attributes.coffee. You should be able to pretty easily add h2 and h3 there.
This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.
This is excellent work! Thanks for contributing it!
https://github.com/lazaronixon/trix-extensions

For anyone else reading this in 2021, the trix-extensions is nice in theory, but when trying to restore content, Trix just ignores any custom elements such as H2's etc that the trix-extensions adds. I couldn't find any information about a solution to this and some people just bailed this as Trix doesn't look supported anymore really.
Using summernote for now.
Any solution for this in 2024?
I'm also looking for a solution to use in companion with EasyAdminBundle.
A solutions is desired in 2025 as well, so far no luck finding something existing! :)