scaleflex / filerobot-image-editor

Edit, resize, and filter any image! Any questions or issues, please report to https://github.com/scaleflex/filerobot-image-editor/issues
MIT License
1.27k stars 322 forks source link

Is there a way to hide the back and save buttons? #398

Closed Polydynamical closed 1 month ago

Polydynamical commented 8 months ago

I apologize in advance since this is not an issue but a simple question: Is there a way to completely hide the back/close button and hide the save button? I'd like to hide the save button to implement my own save button (positioned in a more convenient location for my content).

Thanks in advance!

AhmeeedMostafa commented 8 months ago

You could achieve that using the static CSS selector

AhmeeedMostafa commented 1 month ago

@Polydynamical we have supported a prop for such a behavior for save button only, u will find it here removeSaveButton

Polydynamical commented 1 month ago

@Polydynamical we have supported a prop for such a behavior for save button only, u will find it here removeSaveButton

Yes, I did notice that initially. However, I was looking for a way to also hide the "back" button since my website was handling the scene management.

AhmeeedMostafa commented 1 month ago

@Polydynamical this already happens if you don't provide onClose callback property.