-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Interactivity API for frontend functionality #13502
Comments
Related: WordPress/gutenberg#55642 |
As per yesterday's chat: we do quite a few things more than lightbox, so we might still need some custom JS. If it turns out to be more / unnecessarily complex, we can put this on hold for now and focus on other issues instead. |
Putting this on hold for now as per our discussion. Doesn't seem straightforward to use after all, as our use case is a bit more complex. |
The stable version actually landed in WordPress 6.5, so I think we should revisit this.
|
Feature Description
WordPress 6.4 ships with the Interactivity API, which is an ideal tool for implementing the lightbox functionality in the Web Stories block. SImilar to how the core image block uses it for its lightbox.
Sites using an older WordPress version can still use the existing JS we have.
In the future we could even think about replacing the carousel with the Interactivity API or find other use cases for it.
The text was updated successfully, but these errors were encountered: