You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@claeusdev that's great. I don't have much preference to be honest. From what I understand, the toolbar configuration is done via the Trix.config if I'm not mistaken.
I guess TrixEditor would need to accept a new property that describe what the user wants for their toolbar and apply this when the component creates the underlying trix component.
I suppose you could start by adding a new function in the componentDidMount line:77 that would run if the caller provided a value for the custom toolbar property.
This function would apply anything to the toolbar.
This is just an idea, feel free to explore and ask questions if you have any.
customize toolbar for customize showing menu
The text was updated successfully, but these errors were encountered: