feat(ext-blog): Add rich Markdown editor for blog posts
Replace the plain textarea with a CodeMirror-based editor supporting syntax highlighting, formatting toolbar (bold, italic, lists, code blocks), and a live preview toggle. Update PostContentRenderer to handle new Markdown syntax (blockquotes, fenced code blocks). Add a preview endpoint for rendering content without saving.
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
"tailwindcss": "^4.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/commands": "^6.11.2",
|
||||
"@codemirror/lang-markdown": "^6.5.3",
|
||||
"@codemirror/language": "^6.13.1",
|
||||
"@codemirror/view": "^6.44.2",
|
||||
"alpinejs": "^3.12.2",
|
||||
"grapesjs": "0.22.16",
|
||||
"slugify": "^1.6.6"
|
||||
|
||||
Reference in New Issue
Block a user