Skip to content

Commit

Permalink
build: release 17.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pubuzhixing8 committed Jun 18, 2024
1 parent 2b7598e commit 2eda267
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
11 changes: 0 additions & 11 deletions .changeset/seven-foxes-wonder.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/three-snails-invite.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 17.3.0

### Minor Changes

- [#273](https://github.com/worktile/slate-angular/pull/273) [`c65fea2`](https://github.com/worktile/slate-angular/commit/c65fea27c15e83a78c76fc3d4bf3d45fa03b2845) Thanks [@pubuzhixing8](https://github.com/pubuzhixing8)! - 1. In toDOMPoint, when the anchor or focus is on the block-card element and the selection is in the expanded state, the DOM selection is positioned on the cursor before and after, solving the problem that the beforeinput event cannot be triggered when the cursor is a block-card or void element (when the first element of the editor or table cell is a void element, Ctrl + A selects all) (contenteditable='false' is added to the void element)

2. Fix the problem of positioning the cursor before and after the block-card in toSlatePoint
1. toDOMPoint 中当 anchor 或者 focus 在 block-card 元素上并且选区是 expanded 状态时,将 DOM 的 selection 定位到前后光标的上,解决光标所在的元素是 block-card 和 void 元素(编辑器或者表格单元格的第一个元素是 void 元素时,Ctrl + A 全选)时无法触发 beforeinput 事件(void 元素上增加了 contenteditable='false')
1. 修复 toSlatePoint 中对 block-card 前后光标定位的问题

- [#274](https://github.com/worktile/slate-angular/pull/274) [`2b7598e`](https://github.com/worktile/slate-angular/commit/2b7598e1bdde127e3b76ccb962abd988557efc66) Thanks [@pubuzhixing8](https://github.com/pubuzhixing8)! - bump slate into 0.103.0

## 17.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slate-angular",
"version": "17.2.2",
"version": "17.3.0",
"description": "Angular view layer for Slate",
"author": "pubuzhixing <pubuzhixing@gmail.com>",
"homepage": "https://github.com/worktile/slate-angular#readme",
Expand Down

0 comments on commit 2eda267

Please sign in to comment.