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:
@@ -6,6 +6,18 @@ return [
|
||||
'identifier' => 'blog',
|
||||
'licence' => 'MIT',
|
||||
'version' => '1.0.0',
|
||||
'assets' => [
|
||||
[
|
||||
'src' => '/admin/assets/markdown-editor.css',
|
||||
'type' => 'style',
|
||||
'location' => 'admin-header',
|
||||
],
|
||||
[
|
||||
'src' => '/admin/assets/markdown-editor.js',
|
||||
'type' => 'script',
|
||||
'location' => 'admin-header',
|
||||
],
|
||||
],
|
||||
'tables' => [
|
||||
'posts' => [
|
||||
'columns' => [
|
||||
|
||||
Reference in New Issue
Block a user