Skip to content

Commit

Permalink
TASK: Move cursor before the placeholer
Browse files Browse the repository at this point in the history
  • Loading branch information
markusguenther committed Oct 11, 2024
1 parent cbea04a commit 0b198a5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/neos-ui-ckeditor5-bindings/src/placeholder.vanilla-css
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
.ck.ck-placeholder:before, .ck .ck-placeholder:before {
content: attr(data-placeholder);
.ck.ck-placeholder:after, .ck .ck-placeholder {
display: inline-flex;
}

/* See ckeditor/ckeditor5#469. */
.ck.ck-placeholder:after, .ck .ck-placeholder:after {
content: attr(data-placeholder);
pointer-events: none;

color: #999;
}

.ck.ck-read-only .ck-placeholder:after {
display: none;
}

0 comments on commit 0b198a5

Please sign in to comment.