[feat](note basic): markdown 编辑器功能 #21
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
close #15
新增 Markdown 编辑器组件、更新依赖项以及优化 Tailwind CSS 样式。最重要的改动集中在集成
md-editor-v3
库、提升样式表现和增强下拉菜单组件。Markdown 编辑器集成:
MdEditor
组件(src/components/Editor/MdEditor.vue
),支持实时预览、工具栏自定义、图片上传和自动保存功能。该组件基于md-editor-v3
库实现。依赖项更新:
md-editor-v3
依赖。Warning
因md-editor所需vue版本较高, 放宽了
vue
包的次版本更新范围diff
下拉菜单组件优化:
IndexDropdown.vue
和PagesDropdown.vue
组件中新增了名为“笔记”的下拉菜单项,链接到/admin/note
路由。