Skip to content

Commit

Permalink
Try: zero width space in empty paragraph. (#28268)
Browse files Browse the repository at this point in the history
This is a followup to https://github.com/WordPress/gutenberg/pull/27995/files#r557493964. It replaces the nonbreaking space character output in empty paragraphs, with a zero width space.
  • Loading branch information
jasmussen authored Jan 18, 2021
1 parent 24224c5 commit 426ad17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/paragraph/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ p.has-text-color a {

// Prevent an empty P tag from collapsing, so it matches the backend.
p:empty::before {
content: "\a0";
content: "\200B";
}

0 comments on commit 426ad17

Please sign in to comment.