- Open the Elementor page builder / edit with elementor.
- Click on the burger menu in the upper left corner.
- Click on user preferences.
- Locate option enable lightbox in editor, enable or disable the option so it fit your needs.
- Click update to save your settings.