We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3d495f commit ee9a685Copy full SHA for ee9a685
src/index.css
@@ -4,10 +4,10 @@
4
}
5
6
/**
7
- * Normally paragraph placeholder is shown only for the current block (thanks to "data-placeholder-active").
+ * Normally paragraph placeholder is shown only for the focused block (thanks to "data-placeholder-active").
8
*
9
* 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.
+ * When editor autofocus=false, there will be no focus. We need to show the placeholder anyway.
11
*/
12
.ce-block:only-of-type .ce-paragraph[data-placeholder-active]:empty::before,
13
.ce-block:only-of-type .ce-paragraph[data-placeholder-active][data-empty="true"]::before {
0 commit comments