Commit Graph

6 Commits

Author SHA1 Message Date
5f00e71ceb feat: enhance logging and error handling in backend and editor components 2026-01-25 13:29:11 +08:00
f35049ac0b modified: backend/.env
modified:   src/components/MilkdownEditor.vue
2026-01-18 21:31:27 +08:00
6102f905ee feat: implement inline autocomplete suggestions with FastAPI backend and Milkdown editor integration 2026-01-18 19:42:58 +08:00
55c1b180f7 feat(editor): implement WYSIWYG Markdown editor using Milkdown Crepe
Replace the existing contenteditable-based markdown editor with a full-featured WYSIWYG editor using @milkdown/crepe. The new implementation provides:
- True WYSIWYG editing experience with instant Markdown syntax rendering
- Slash command menu support for quick formatting
- Code block highlighting and image paste support
- Built-in export to markdown file functionality

Changes include new MilkdownEditor component, updated App.vue integration, theme styling imports, and optimized Vite configuration for the new dependencies.
2026-01-18 09:08:38 +08:00
4de3dfdd8d feat(editor): enhance markdown editor with contenteditable interface and modals
- Replace textarea with contenteditable div for WYSIWYG-like editing experience
- Add code block editing modal for inline code editing functionality
- Add image preview modal for zoom functionality on clicked images
- Implement keyboard shortcuts (Ctrl+1-6 for headings, Ctrl+B bold, Ctrl+I italic, Ctrl+K links)
- Improve syntax highlighting with Prism.js integration and language detection
- Add debounced rendering to optimize performance during typing
- Enhance styling with hover effects and improved code block indicators
2026-01-12 13:23:55 +08:00
49f264b53b feat(project): scaffold Vue 3 + Vite markdown editor
Add initial project structure including:
- .gitignore and VSCode settings
- Vite configuration and package.json with Vue 3 dependencies
- Basic HTML entry point and README update
- Core source files: App.vue, main.js, style.css
- Markdown editor component with plugin system and related types
- Sample HelloWorld component, router, and Pinia store
- Assets and SVG icons

This commit establishes the foundation for the Vue 3 application.
2026-01-12 12:23:44 +08:00