Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Rich Image Caption feature branch #975
However, there is some case where it crashes. So if you try to upload the video, it will crash with red screen.
The issue is in this line of code: https://github.com/WordPress/gutenberg/blob/449c25459c917b546cdfd786dbfd56dd3cb9a43a/packages/block-library/src/video/edit.native.js#L218
Having that on mind we probably want to remove
and maybe to move this :
into the corresponding video style file: https://github.com/WordPress/gutenberg/blob/master/packages/block-library/src/video/style.native.scss
Nice catch @marecar3 !
A better "fix" will be when we use RichText Captions in Video Blocks too (in the future).