ant-design / ant-design/pro-chat
👑 [需求] EditableMessage怎么修改markdown文字颜色?
- Dominant language
- TypeScript
- Stars
- 897
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
### 🥰 需求描述
EditableMessage组件想要非全局修改markdown文字颜色 设置`markdownProps={{
style: {
color: '#1677ff',
},
}}`只能透传到`ant-typography`类,无法渗透到`.zcss-8xwwhe p`
字体颜色还是没有更改
### 🚑 其他信息


Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the EditableMessage component and trace how markdownProps reaches ant-typography and the rendered .zcss-8xwwhe p elements. Check the existing markdown rendering and styling behavior first; done means a color supplied through markdownProps changes markdown text within this component without changing it globally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100