WordPress/gutenberg
Voir sur GitHubCover block: empty block shows as black box on frontend
Open
#10 854 ouverte le 21 oct. 2018
Good First Issue[Block] Cover[Feature] Blocks[Priority] Low[Status] In Progress[Type] Enhancement
Métriques du dépôt
- Stars
- (9 607 stars)
- Métriques de merge PR
- (Merge moyen 12j 18h) (509 PRs mergées en 30 j)
Description
Describe the bug If you insert a cover block and don't upload any image or video, it will appear as a black box in the frontend.
Expected behavior If the block in the backend is empty, I would expect the placeholder not to render any content.
Tested with Gutenberg 4.1 RC 1 + Twenty Seventeen as well as Twenty Nineteen.