Skip to content

Commit

Permalink
TASK: Hide break in placeholder context
Browse files Browse the repository at this point in the history
To move the cursor to the first position, the placeholder text is moved backwards. Therefore, a change with a break is disadvantageous.
  • Loading branch information
markusguenther committed Oct 14, 2024
1 parent 0b198a5 commit a081cd6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
display: inline-flex;
}

.ck .ck-placeholder br[data-cke-filler="true"] {
display: none;
}

.ck.ck-placeholder:after, .ck .ck-placeholder:after {
content: attr(data-placeholder);
pointer-events: none;
Expand Down

0 comments on commit a081cd6

Please sign in to comment.