diff --git a/src/trix/elements/trix_editor_element.js b/src/trix/elements/trix_editor_element.js index 33877cc1a..44626100b 100644 --- a/src/trix/elements/trix_editor_element.js +++ b/src/trix/elements/trix_editor_element.js @@ -110,7 +110,7 @@ installDefaultCSSForTagName("trix-editor", `\ display: block; } -%t:empty:not(:focus)::before { +%t:empty::before { content: attr(placeholder); color: graytext; cursor: text;