Skip to content

Commit 050da83

Browse files
committed
docs(changelog): 1.7.7 & 2.3.7
1 parent 209a1db commit 050da83

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

docs/api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ Event triggered when the content changes. text is the input content, and html is
226226

227227
Event triggered when click save toolbar.
228228

229+
### image-click
230+
231+
- Callback parameter:`(images, currentIndex)`
232+
233+
Event triggered when the picture is clicked.
234+
229235
### fullscreen-change
230236

231237
- Callback parameter:`(isFullscreen)`

docs/changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
Except for major bugs, the 1.x version based on vue2.0 will no longer be iterated synchronously starting from version 1.7.6.
55
:::
66

7+
### 1.7.7 & 2.3.7
8+
9+
`2021-07-22`
10+
11+
**Breaking Change**
12+
13+
- image-preview: Remove the picture preview.
14+
15+
**Features**
16+
17+
- editor: Added [image-click](./api.md#image-click) click event.
18+
719
### 2.3.6
820

921
`2021-07-19`

docs/zh/api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,12 @@ editor.insert((selected) => {
269269

270270
点击 save toolbar 时触发的事件。
271271

272+
### image-click
273+
274+
- 回调参数:`(images, currentIndex)`
275+
276+
点击图片时触发的事件。
277+
272278
### fullscreen-change
273279

274280
- 回调参数:`(isFullscreen)`

docs/zh/changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
基于 vue2.0 的 1.x 的版本除了重大 bug 之外,从 1.7.6 版本开始将不再同步迭代。
55
:::
66

7+
### 1.7.7 & 2.3.7
8+
9+
`2021-07-22`
10+
11+
**Breaking Change**
12+
13+
- image-preview: 移除图片预览功能。
14+
15+
**Features**
16+
17+
- editor: 新增 [image-click](./api.md#image-click) 点击事件。
18+
719
### 2.3.6
820

921
`2021-07-19`

0 commit comments

Comments
 (0)