elk/styles/tiptap.css
2022-12-05 03:06:02 +08:00

11 lines
217 B
CSS

.ProseMirror p.is-editor-empty:first-child::before {
content: attr(data-placeholder);
float: left;
pointer-events: none;
height: 0;
opacity: 0.4;
}
span[data-type='mention'] {
--at-apply: text-primary;
}