We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05b8d27 commit 4c5fedaCopy full SHA for 4c5feda
packages/rich-text/src/to-tree.js
@@ -299,6 +299,8 @@ export function toTree( {
299
if ( shouldInsertPadding && i === text.length ) {
300
append( getParent( pointer ), ZWNBSP );
301
302
+ // We CANNOT use CSS to add a placeholder with pseudo elements on
303
+ // the main block wrappers because that could clash with theme CSS.
304
if ( placeholder && text.length === 0 ) {
305
append( getParent( pointer ), {
306
type: 'span',
0 commit comments