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

[feature request] Custom toolbar extension API #613

Closed
DanielHeath opened this issue Apr 2, 2019 · 2 comments

Comments

@DanielHeath
Copy link

commented Apr 2, 2019

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.

@stale

This comment has been minimized.

Copy link

commented Jul 1, 2019

This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jul 1, 2019

@stale stale bot closed this Jul 8, 2019

@mbmjertan

This comment has been minimized.

Copy link

commented Aug 2, 2019

Has there been any progress on this? I can't find any docs documenting an API that allows me to extend the toolbar instead of replacing it entirely.

@DanielHeath have you perhaps done any work on this or can you share how you've implemented custom modals?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.