refactor: post editor
This commit is contained in:
parent
3d06421acb
commit
78725d1e88
31 changed files with 1603 additions and 766 deletions
|
|
@ -42,6 +42,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
.tiptap p.is-editor-empty:first-child::before {
|
||||
color: hsl(var(--muted-foreground));
|
||||
content: attr(data-placeholder);
|
||||
float: left;
|
||||
height: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
.clickable:hover {
|
||||
background-color: hsl(var(--muted) / 0.5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue