Improved Webkit and Gecko :empty selector.

But the real block level unfocusable bug is still not solved.
This commit is contained in:
djmaze
2020-09-24 16:11:46 +02:00
parent fca5a0e290
commit a8ddeecb49
2 changed files with 8 additions and 7 deletions

View File

@@ -60,12 +60,14 @@
.squire-wysiwyg div:-moz-only-whitespace {
min-height: 1em;
}
.squire-wysiwyg div:empty:before,
.squire-wysiwyg div:-moz-only-whitespace:before {
/*
.squire-wysiwyg div:empty::before,
.squire-wysiwyg div:-moz-only-whitespace::before {
content: "Start writing here…";
opacity: 0.5;
position: absolute
-moz-user-select: text;
}
*/
.squire-wysiwyg, .squire-plain {
min-height: 200px;