mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-17 12:41:44 +02:00
Version Packages
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
'slate': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
- Fix error when a non-selectable node has no next or previous node
|
|
||||||
- Do not return points from `Editor.positions` that are inside non-selectable nodes
|
|
||||||
- Previously, `editor.isSelectable` was handled incorrectly inside `Editor.positions`. When encountering a non-selectable node, it would immediately return the point before or after it (depending on `reverse`), but it would not skip returning points inside the non-selectable node if more than one point was consumed from `Editor.positions`.
|
|
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Use generics for the return type of `Node.fragment`
|
|
@@ -1,5 +1,16 @@
|
|||||||
# slate
|
# slate
|
||||||
|
|
||||||
|
## 0.118.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#5929](https://github.com/ianstormtaylor/slate/pull/5929) [`fdaa9c80`](https://github.com/ianstormtaylor/slate/commit/fdaa9c8088e81bde2618784b42027be44598d11c) Thanks [@12joan](https://github.com/12joan)! - - Fix error when a non-selectable node has no next or previous node
|
||||||
|
|
||||||
|
- Do not return points from `Editor.positions` that are inside non-selectable nodes
|
||||||
|
- Previously, `editor.isSelectable` was handled incorrectly inside `Editor.positions`. When encountering a non-selectable node, it would immediately return the point before or after it (depending on `reverse`), but it would not skip returning points inside the non-selectable node if more than one point was consumed from `Editor.positions`.
|
||||||
|
|
||||||
|
- [#5926](https://github.com/ianstormtaylor/slate/pull/5926) [`cf10119a`](https://github.com/ianstormtaylor/slate/commit/cf10119ad858b79d624d1e35814f534c20a9d362) Thanks [@12joan](https://github.com/12joan)! - Use generics for the return type of `Node.fragment`
|
||||||
|
|
||||||
## 0.118.0
|
## 0.118.0
|
||||||
|
|
||||||
### Minor Changes
|
### Minor Changes
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "slate",
|
"name": "slate",
|
||||||
"description": "A completely customizable framework for building rich text editors.",
|
"description": "A completely customizable framework for building rich text editors.",
|
||||||
"version": "0.118.0",
|
"version": "0.118.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
Reference in New Issue
Block a user