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

feat: 支持配置自定义的 Tag 配置来完成额外的换起和插入 #54

Merged
merged 8 commits into from
Mar 16, 2025

Conversation

ONLY-yours
Copy link
Collaborator

No description provided.

@chenshuai2144
Copy link
Collaborator

把这个抽出来吧,和 fnc 分开。fnc 只能做引用之类的,tag 是希望能做成填空的那种编辑器。

@ONLY-yours ONLY-yours changed the title feat: 支持配置自定义的 popup 配置来完成额外的换起和插入 feat: 支持配置自定义的 Tag 配置来完成额外的换起和插入 Mar 4, 2025
@ONLY-yours ONLY-yours requested a review from chenshuai2144 March 4, 2025 05:55
@ONLY-yours
Copy link
Collaborator Author

把这个抽出来吧,和 fnc 分开。fnc 只能做引用之类的,tag 是希望能做成填空的那种编辑器。

再看看,独立出来了,新加了几个api

@chenshuai2144
Copy link
Collaborator

-- | -- | -- | -- | --
dropdownRender | 自定义下拉框内容 | (originNode: ReactNode) => ReactNode | - |  
dropdownStyle | 下拉菜单的 style 属性 | CSSProperties | - |  
tagRender | 回显的 render | - |  
prefix | 触发关键词 | - |  
notFoundContent | 为空的时候的展示 | - |  

@ONLY-yours
Copy link
Collaborator Author

-- | -- | -- | -- | -- dropdownRender | 自定义下拉框内容 | (originNode: ReactNode) => ReactNode | - |   dropdownStyle | 下拉菜单的 style 属性 | CSSProperties | - |   tagRender | 回显的 render | - |   prefix | 触发关键词 | - |   notFoundContent | 为空的时候的展示 | - |

都添加了

@chenshuai2144 chenshuai2144 merged commit a124350 into ant-design:main Mar 16, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants