Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix placeholder is not visible

Abdullah Atta7785bcd5a83c
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;