Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: 添加 md-editor 自定义渲染示例和文档 #466

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,9 @@ exports[`renders components/attachments/demo/overflow.tsx extend context correct
<div
aria-label="segmented control"
class="ant-segmented"
role="listbox"
role="radiogroup"
style="margin-inline-end: auto;"
tabindex="0"
>
<div
class="ant-segmented-group"
Expand All @@ -759,12 +760,12 @@ exports[`renders components/attachments/demo/overflow.tsx extend context correct
<input
checked=""
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="true"
class="ant-segmented-item-label"
role="option"
title="Wrap"
>
Wrap
Expand All @@ -775,12 +776,12 @@ exports[`renders components/attachments/demo/overflow.tsx extend context correct
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Scroll X"
>
Scroll X
Expand All @@ -791,12 +792,12 @@ exports[`renders components/attachments/demo/overflow.tsx extend context correct
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Scroll Y"
>
Scroll Y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,9 @@ Array [
<div
aria-label="segmented control"
class="ant-segmented"
role="listbox"
role="radiogroup"
style="margin-inline-end:auto"
tabindex="0"
>
<div
class="ant-segmented-group"
Expand All @@ -689,12 +690,12 @@ Array [
<input
checked=""
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="true"
class="ant-segmented-item-label"
role="option"
title="Wrap"
>
Wrap
Expand All @@ -705,12 +706,12 @@ Array [
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Scroll X"
>
Scroll X
Expand All @@ -721,12 +722,12 @@ Array [
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Scroll Y"
>
Scroll Y
Expand Down Expand Up @@ -1905,7 +1906,7 @@ Array [
exports[`renders components/attachments/demo/placeholder.tsx correctly 1`] = `
<div
class="ant-flex ant-flex-align-stretch ant-flex-gap-middle ant-flex-vertical"
style="padding:16px;background:rgba(0, 0, 0, 0.04)"
style="padding:16px;background:rgba(0,0,0,0.04)"
>
<div
style="border-radius:6px;overflow:hidden;background:#ffffff"
Expand Down
Loading
Loading