Skip to content
New issue

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

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

Already on GitHub? # to your account

👑 [需求] 带有编辑能力的对话自定义渲染 #21

Closed
ONLY-yours opened this issue Dec 25, 2023 · 1 comment
Closed

👑 [需求] 带有编辑能力的对话自定义渲染 #21

ONLY-yours opened this issue Dec 25, 2023 · 1 comment

Comments

@ONLY-yours
Copy link
Collaborator

🥰 需求描述

带有编辑能力的对话自定义渲染

现有的 messageItemExtraRender 只能在某一条对话下方额外新增一块内容进行渲染,这块内容是不会放置在「编辑、重新生成、历史记录」这些里面的。

得有一个方法支持自定义渲染对话内容的api,难点在于如何设计 「编辑态」和「展示态」的渲染内容

🧐 解决方案

暂时考虑是直接将 「编辑态」和「展示态」 两者的自定义直接透出,但是对于用户来说成本有点太高了

🚑 其他信息

@ONLY-yours
Copy link
Collaborator Author

功能提供在 chatItemRender 中,基本都透出了,这个贴完结

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant