Repository navigation
Commit b4fd84a
fix(web): rich Markdown file links follow upstream chip class removal
## What Changed
`markdownEditorPresentation.ts` owns the file-link chip class string instead of importing `CHAT_FILE_TAG_CHIP_CLASS_NAME`.
The value is copied verbatim from the current base, so rich Markdown file links render unchanged.
## Why
Upstream `266d70c` (`pingdotgg#13192`) removed `CHAT_FILE_TAG_CHIP_CLASS_NAME` in favor of a React `ContextChip`.
The editor decorates raw DOM and cannot render that component, so it keeps the class itself.
Syncing `v0.0.43-nightly.20260923.2150` fails web typecheck on the removed import, blocking the sync.
## Checklist
- [x] This PR is small and focused
- [x] I explained what changed and why
- [ ] I included before/after screenshots for any UI changes
- [ ] I included a video for animation/interaction changes
## Fork trailers
Refs #1277
Fork-Domain: markdown-editing
Fork-Tier: bugfix
Fork-Upstreamable: no
Co-authored-by: donjor <[email protected]>1 parent 50bb9de commit b4fd84a
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
208 | | - | |
| 212 | + | |
209 | 213 | | |
210 | 214 | | |
211 | 215 | | |
| |||
0 commit comments