feat(editor): add ReadonlyContent component for lightweight markdown display
- Add del selector to strikethrough CSS for react-markdown compatibility - Create ReadonlyContent using react-markdown + lowlight + content-editor.css - Export from editor module index Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
88c2f4ddc4
commit
4df32a853b
3 changed files with 158 additions and 1 deletions
|
|
@ -353,7 +353,8 @@
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
.rich-text-editor s {
|
||||
.rich-text-editor s,
|
||||
.rich-text-editor del {
|
||||
text-decoration: line-through;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue