elk/styles/tiptap.css
2022-11-25 21:21:02 +08:00

8 lines
158 B
CSS

.ProseMirror p.is-editor-empty:first-child::before {
content: attr(data-placeholder);
float: left;
pointer-events: none;
height: 0;
opacity: 0.4;
}