From 7785bcd5a83c4473ee96703c5f0936369cfbf113 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Sat, 9 Mar 2024 22:46:55 +0500 Subject: [PATCH] editor: fix placeholder is not visible --- packages/editor/styles/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css index 61f55d5e9..b4cca0257 100644 --- a/packages/editor/styles/styles.css +++ b/packages/editor/styles/styles.css @@ -8,7 +8,7 @@ font-family: inherit; } -.ProseMirror p.is-editor-empty:first-child::before { +.ProseMirror p.is-empty:first-child::before { color: var(--placeholder); content: attr(data-placeholder); float: left;