You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're building some blocks with custom video components, and want to be able to upload and manage various caption/subtitle/chapter tracks. This would be easiest if we could use WordPress' TracksEditor component, but that component isn't exported from the WordPress packages. Instead, we're going to have to reimplement this functionality.
I'm tagging this as a @wordpress/block-editor issue as I think it would be more appropriate to export it from that package, rather than @wordpress/components.
What problem does this address?
We're building some blocks with custom video components, and want to be able to upload and manage various caption/subtitle/chapter tracks. This would be easiest if we could use WordPress' TracksEditor component, but that component isn't exported from the WordPress packages. Instead, we're going to have to reimplement this functionality.
What is your proposed solution?
Export https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/video/tracks-editor.js#L186 so that plugin and theme authors can use it in their custom Blocks.
The text was updated successfully, but these errors were encountered: