WordPress/gutenberg

Cover block: empty block shows as black box on frontend

Open

#10.854 aberto em 21 de out. de 2018

Ver no GitHub
 (7 comments) (1 reaction) (0 assignees)JavaScript (3.893 forks)batch import
Good First Issue[Block] Cover[Feature] Blocks[Priority] Low[Status] In Progress[Type] Enhancement

Métricas do repositório

Stars
 (9.607 stars)
Métricas de merge de PR
 (Mesclagem média 12d 18h) (509 fundiu PRs em 30d)

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.

Guia do colaborador