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
Hey @airled I'm updating react-trix for the version 1.3.1 of Trix and I was looking at your issue regarding locale. Would the onEditorReady event which pass a reference the Trix's editor could be a good workaround, for instance:
exportclassTestextendsReact.Component{handleEditorReady(editor){// can the locale be set directly in the editor here?// do editing programaticallyeditor.insertString("editor is ready");}render(){return(<TrixEditoronEditorReady={this.handleEditorReady}/>);}}
I haven't investigate that much, it's just a quick work around idea.
Hi there. I saw this issue #28. It is also needed to have possibility to pass locales (trix uses locales like this) and hide buttons via props.
The text was updated successfully, but these errors were encountered: