Skip to content

Commit

Permalink
richtext: show empty elements note
Browse files Browse the repository at this point in the history
  • Loading branch information
jenswittmann committed Feb 4, 2025
1 parent daf9eda commit c0f76eb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev/css/_contentblocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@
text-decoration-thickness: from-font;
hyphens: auto;
}

:empty {
height: calc(1lh + 2em);
padding: 1em;
outline: 1px solid red;

&:before {
content: "⚠️";
}
}
}
/*! purgecss end ignore */

Expand Down

0 comments on commit c0f76eb

Please sign in to comment.