diff --git a/packages/editable-html-tip-tap/src/components/EditableHtml.jsx b/packages/editable-html-tip-tap/src/components/EditableHtml.jsx index 7a95b30bd..389f1eabc 100644 --- a/packages/editable-html-tip-tap/src/components/EditableHtml.jsx +++ b/packages/editable-html-tip-tap/src/components/EditableHtml.jsx @@ -361,7 +361,8 @@ const StyledEditorContent = styled(EditorContent, { '& p.is-editor-empty:first-child::before': { content: 'attr(data-placeholder)', - display: 'block', + float: 'left', + height: 0, color: '#9CA3AF', pointerEvents: 'none', whiteSpace: 'pre-wrap',