1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-24 07:06:08 +09:00
elk/styles/tiptap.css
wheat addbe1b567
feat: query for tiptap mention autocomplete (#120)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-26 14:55:54 +08:00

12 lines
216 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
}