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
Closed

[feature request] Custom toolbar extension API #613

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

Comments

@DanielHeath
Copy link

@DanielHeath DanielHeath 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
Copy link

@stale stale bot 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 as completed Jul 8, 2019
@mbmjertan
Copy link

@mbmjertan mbmjertan 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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants