Skip to content

Commit ee9a685

Browse files
committed
Update index.css
1 parent b3d495f commit ee9a685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
}
55

66
/**
7-
* Normally paragraph placeholder is shown only for the current block (thanks to "data-placeholder-active").
7+
* Normally paragraph placeholder is shown only for the focused block (thanks to "data-placeholder-active").
88
*
99
* But there is a special case when the paragraph is the only block in the empty editor.
10-
* When editor autofocus=false, there be no current block. We need to show the placeholder anyway.
10+
* When editor autofocus=false, there will be no focus. We need to show the placeholder anyway.
1111
*/
1212
.ce-block:only-of-type .ce-paragraph[data-placeholder-active]:empty::before,
1313
.ce-block:only-of-type .ce-paragraph[data-placeholder-active][data-empty="true"]::before {

0 commit comments

Comments
 (0)