Edit items in galley opens in new window

When i want to edit items in gallery it opens in new window, please is there anyway i can make it open in same window? if possible in a lightbox please.

Thanks in anticipation of your help.

Hi @mahwash,

Please add the code from the below link:

This will make edit link open in the same window.

Thank You Bhargav

Hi Bhargavbhandari, It works fine, thanks for your help.

But i think is going to be better if it opens in little lightbox.

Thanks

Hello @mahwash,

You are welcome. We are glad to know that the custom code provided by @bhargavbhandari helped you.

Regarding the edit page in the lightbox:

Unfortunately, there is not any option or custom code available for such requirement for now.

Thanks