Partially found a solution for issue #12

But we shouldn't solve it the DIV way.
This commit is contained in:
djmaze 2020-09-24 16:24:35 +02:00
parent a8ddeecb49
commit 48971df2ad

View file

@ -56,15 +56,19 @@
overflow: auto;
}
/* This does make the block element focusable with mouse in Gecko and Webkit so we don't need a <BR>.
However, arrow up/down still not working.
Secondly, we can't rely on MUA's what to do with :empty
.squire-wysiwyg div:empty,
.squire-wysiwyg div:-moz-only-whitespace {
min-height: 1em;
min-height: 16px;
}
/*
/* This "placeholder" doesn't work good in Gecko
.squire-wysiwyg div:empty::before,
.squire-wysiwyg div:-moz-only-whitespace::before {
content: "Start writing here…";
opacity: 0.5;
user-select: text;
-moz-user-select: text;
}
*/