Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

fix placeholder (#64240)

Jeff Bruemmer2804f26f4be8
diff --git a/enterprise/frontend/src/metabase-enterprise/documents/components/Editor/Editor.module.css b/enterprise/frontend/src/metabase-enterprise/documents/components/Editor/Editor.module.css
index 94fd202c80e..944a368f13c 100644
--- a/enterprise/frontend/src/metabase-enterprise/documents/components/Editor/Editor.module.css
+++ b/enterprise/frontend/src/metabase-enterprise/documents/components/Editor/Editor.module.css
@@ -178,7 +178,8 @@
outline: none;
}
-.editorContent :global(p.is-empty:first-child:before) {
+.editorContent :global(.is-empty:first-child:before),
+.editorContent :global(.node-paragraph.is-empty:first-child:before) {
color: var(--mb-color-text-light);
content: attr(data-placeholder);
float: left;