pqina / filepond-plugin-image-editor

2 stars 1 forks source link

Configure Label for Edit Button #2

Open mahnouel opened 2 weeks ago

mahnouel commented 2 weeks ago

Hi Team, I hope you're doing well! We would like to know how the label of the edit button can be configured. Are there any undocumented options available for this purpose? Thank you!

rikschennink commented 2 weeks ago

It's currently not editable, the "edit" label is hardcoded. https://github.com/pqina/filepond-plugin-image-editor/blob/main/src/index.ts#L442

I can look into this later this week because it should be configurable.

Otherwise you can of course fork the plugin and make the necessary changes, and/or submit a PR.

rikschennink commented 2 weeks ago

Fixed in 9.2.0

rikschennink commented 2 weeks ago

You can now use imageEditorLabelEdit to set the label.