Add placeholder
This commit is contained in:
+9
-1
@@ -197,7 +197,7 @@
|
||||
}
|
||||
|
||||
.link-content,
|
||||
[tag] {
|
||||
.tiptap [tag] {
|
||||
@apply max-w-full overflow-hidden text-ellipsis whitespace-nowrap rounded bg-neutral px-1 text-neutral-content no-underline;
|
||||
}
|
||||
|
||||
@@ -205,6 +205,14 @@
|
||||
@apply bg-primary text-primary-content;
|
||||
}
|
||||
|
||||
.tiptap p.is-editor-empty:first-child::before {
|
||||
content: attr(data-placeholder);
|
||||
float: left;
|
||||
height: 0;
|
||||
pointer-events: none;
|
||||
opacity: 50%;
|
||||
}
|
||||
|
||||
/* date input */
|
||||
|
||||
.date-time-field {
|
||||
|
||||
Reference in New Issue
Block a user