Is there a « Disable lightbox within the editor » change somewhere?

Hi there, I'm obvious I saw a metamorphosis which prevents lightboxes within the front cease editor, however I’m in a position to't fetch it now.

Ideally it might perhaps perhaps be per ingredient.

I'm a dev, so if it's a hook I'm ecstatic along with it.
it's if reality be told for a video gallery widget I've made for a shopper.