Skip to content

Commit

Permalink
Merge pull request #9050 from ckeditor/i/9048
Browse files Browse the repository at this point in the history
Internal (engine): Placeholder should render properly in text aligned to the right. Closes #9048.
  • Loading branch information
oleq committed Feb 18, 2021
2 parents af51165 + 89a27e6 commit 44e90bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ckeditor5-engine/theme/placeholder.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
/* See ckeditor/ckeditor5#936. */
.ck.ck-placeholder,
.ck .ck-placeholder {
position: relative;

&::before {
position: absolute;
left: 0;
right: 0;
content: attr(data-placeholder);

/* See ckeditor/ckeditor5#469. */
Expand Down

0 comments on commit 44e90bd

Please sign in to comment.