Squire: prevent collapse of empty elements so that the caret can be placed in there.

This eliminates the use of hacky <br> inside.
This commit is contained in:
the-djmaze 2024-09-30 16:55:01 +02:00
parent 9b5eaf4b5f
commit beb418080f

View file

@ -56,6 +56,11 @@
.squire-wysiwyg {
font-family: var(--fontSans);
/* Prevent collapse of empty elements so that the caret can be placed in there */
*:empty::before {
content: "\200B";
}
ul {
padding-left: 40px;
li {