elk/styles/tiptap.css

14 lines
269 B
CSS
Raw Permalink Normal View History

2023-01-16 10:26:19 +00:00
.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;
}
}