From 426ad1754e17d30d73cf163f44944c420c51e26f Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Mon, 18 Jan 2021 09:41:42 +0100 Subject: [PATCH] Try: zero width space in empty paragraph. (#28268) 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. --- packages/block-library/src/paragraph/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/paragraph/style.scss b/packages/block-library/src/paragraph/style.scss index f2ee39c561e82..8a750a271cdd4 100644 --- a/packages/block-library/src/paragraph/style.scss +++ b/packages/block-library/src/paragraph/style.scss @@ -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"; }