Skip to content

Commit

Permalink
fix: 更新版本号至1.14.10,调整段落显示逻辑以改善渲染效果
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 27, 2025
1 parent b8513d2 commit a80be6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/md-editor",
"version": "1.14.9",
"version": "1.14.10",
"description": "类语雀的编辑器,支持 markdown 渲染和编辑",
"repository": "[email protected]:ant-design/md-editor.git",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/MarkdownEditor/editor/elements/paragraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Paragraph = (props: ElementProps<ParagraphNode>) => {
onDragStart={store.dragStart}
data-empty={!str && selected ? 'true' : undefined}
style={{
display: str || props.children?.at(0).type ? 'block' : 'none',
display: str || props.children?.at(0).type ? undefined : 'none',
}}
>
<DragHandle />
Expand Down

1 comment on commit a80be6b

@vercel
Copy link

@vercel vercel bot commented on a80be6b Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.