elk/styles/tiptap.css
2023-01-04 21:47:29 +01:00

12 lines
244 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'],
span[data-type='hashtag'] {
--at-apply: text-primary;
}