Skip to content

Commit f1d235e

Browse files
authored
Merge pull request #1 from LHRUN/feature/multiFile
Feature/multi file
2 parents cd28c1e + a6d8dbe commit f1d235e

32 files changed

Lines changed: 1513 additions & 650 deletions

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_APP_VERSION=0.2.0

.github/workflows/release-tag.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
release:
10+
name: Create Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Create Release
15+
id: create_release
16+
uses: actions/create-release@v1
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
tag_name: ${{ github.ref }}
21+
release_name: ${{ github.ref }}
22+
draft: false
23+
prerelease: false
24+
body: |
25+
Please refer to [CHANGELOG.md](https://github.com/vuejs/vue/blob/main/CHANGELOG.md) for details.

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# 0.2.0 (2023-02-09)
2+
3+
### Feat
4+
5+
- Add Multi file tree records
6+
- ADD Download and upload file
7+
8+
### Chore
9+
10+
- Add version records
11+
- Add release-tag workflow
12+
13+
# 0.1.0 (2022-11-14)
14+
15+
### Feat
16+
- Menu Edit Button
17+
- Code Block Theme Switch
18+
- Sync scrolling
19+
- Generate toc list
20+
- Content state local cache

README.md

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
Link: [https://songlh.top/md-editor/](https://songlh.top/md-editor/)
1111

12-
![](https://s1.ax1x.com/2022/10/12/xaMejs.jpg)
12+
<div align="left">
13+
<img src="https://s1.ax1x.com/2023/02/07/pS2MWff.png" height=340>
14+
<img src="https://s1.ax1x.com/2023/02/07/pS2MRtP.png" height=340>
15+
</div>
1316

1417
## Document
1518

@@ -21,6 +24,8 @@ Link: [https://songlh.top/md-editor/](https://songlh.top/md-editor/)
2124
- [x] Sync scrolling
2225
- [x] Generate toc list
2326
- [x] Content state local cache
27+
- [x] Multi file tree records
28+
- [x] Download and upload file
2429

2530
## Getting Started
2631
```
@@ -32,18 +37,27 @@ pnpm run dev
3237
## File List
3338
```js
3439
├─components
35-
│ └─icons
40+
│ ├─icons
41+
│ ├─fileTitleModal // Change file title modal
42+
│ ├─multiFile // Multi file drawer
3643
│ └─toolbar // Top Menu
44+
45+
├─context
46+
│ ├─file // multi file provider
47+
│ └─index // app provider
48+
3749
├─hooks
38-
event.ts // event hook
50+
│ └─event.ts // event hook
51+
3952
├─views
4053
│ └─editor // editor page
4154
└─utils
42-
│ constants
43-
│ common
44-
│ editor // editor utils
45-
│ md // markdown-it instance
46-
│ scroll // sync scroll
47-
│ storage // local cache
48-
│ toc
55+
├─constants
56+
├─common
57+
├─editor // editor utils
58+
├─md // markdown-it instance
59+
├─scroll // sync scroll
60+
├─storage // local cache
61+
├─multiFile
62+
└─toc
4963
```

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"name": "md-editor",
33
"private": true,
4-
"version": "0.0.0",
4+
"version": "0.2.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc && vite build",
99
"preview": "vite preview",
10-
"lint": "eslint --ext .js,.jsx,.ts,.tsx --fix --quiet ./",
11-
"prepare": "husky install"
10+
"lint": "eslint --ext .js,.jsx,.ts,.tsx --fix --quiet ./"
1211
},
1312
"dependencies": {
1413
"antd": "^4.23.4",

0 commit comments

Comments
 (0)