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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: