Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[feature request] Custom toolbar extension API #613
I can see that https://github.com/basecamp/trix/blob/master/src/trix/config/toolbar.coffee allows overriding the default toolbar markup.
Is there an API for extending the Trix toolbar with new buttons / actions? Ideally with a good way to use the existing wrapping markup for modals, etc?
I've needed custom modals to add links on a couple of projects in the past.
Happy to open a PR adding docs / stabilizing an API if it'd be welcome.