editor: fix placeholder is not visible

This commit is contained in:
Abdullah Atta
2024-03-09 22:46:55 +05:00
parent 569f4537e7
commit 7785bcd5a8

View File

@@ -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;