1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-26 08:34:28 +02:00

Version Packages

This commit is contained in:
github-actions[bot]
2025-08-25 21:48:07 +00:00
parent 0558345703
commit 7b7d7b0bdc
10 changed files with 29 additions and 32 deletions

View File

@@ -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`.

View File

@@ -1,5 +0,0 @@
---
'slate': patch
---
Fix: The `split: true` option on `Transforms.wrapNodes` does not work correctly when one or more points is at the start or end of a text node.

View File

@@ -1,5 +0,0 @@
---
'slate': patch
---
Use generics for the return type of `Node.fragment`

View File

@@ -1,5 +0,0 @@
---
'slate-dom': patch
---
Search backward and forward for leaf nodes in non contenteditable elements inside `toSlatePoint`

View File

@@ -1,5 +1,11 @@
# slate-dom
## 0.118.1
### Patch Changes
- [#5936](https://github.com/ianstormtaylor/slate/pull/5936) [`05583457`](https://github.com/ianstormtaylor/slate/commit/0558345703e3451f82ffd7eeb15dee51102b1209) Thanks [@delijah](https://github.com/delijah)! - Search backward and forward for leaf nodes in non contenteditable elements inside `toSlatePoint`
## 0.117.4
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "slate-dom",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.117.4",
"version": "0.118.1",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
@@ -29,7 +29,7 @@
"@types/jsdom": "^21.1.4",
"@types/lodash": "^4.14.200",
"@types/resize-observer-browser": "^0.1.8",
"slate": "^0.118.0",
"slate": "^0.118.1",
"slate-hyperscript": "^0.115.0",
"source-map-loader": "^4.0.1"
},

View File

@@ -34,8 +34,8 @@
"@types/resize-observer-browser": "^0.1.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"slate": "^0.118.0",
"slate-dom": "^0.117.4",
"slate": "^0.118.1",
"slate-dom": "^0.118.1",
"slate-hyperscript": "^0.115.0",
"source-map-loader": "^4.0.1"
},

View File

@@ -1,5 +1,18 @@
# 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`.
- [#5943](https://github.com/ianstormtaylor/slate/pull/5943) [`aaad6717`](https://github.com/ianstormtaylor/slate/commit/aaad6717d2f3a74c2295b59c40bcc86cbb5a9b54) Thanks [@12joan](https://github.com/12joan)! - Fix: The `split: true` option on `Transforms.wrapNodes` does not work correctly when one or more points is at the start or end of a text node.
- [#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
### Minor Changes

View File

@@ -1,7 +1,7 @@
{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.118.0",
"version": "0.118.1",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",

View File

@@ -13527,7 +13527,7 @@ __metadata:
languageName: node
linkType: hard
"slate-dom@npm:^0.117.4, slate-dom@workspace:*, slate-dom@workspace:packages/slate-dom":
"slate-dom@npm:^0.118.1, slate-dom@workspace:*, slate-dom@workspace:packages/slate-dom":
version: 0.0.0-use.local
resolution: "slate-dom@workspace:packages/slate-dom"
dependencies:
@@ -13543,7 +13543,7 @@ __metadata:
is-plain-object: "npm:^5.0.0"
lodash: "npm:^4.17.21"
scroll-into-view-if-needed: "npm:^3.1.0"
slate: "npm:^0.118.0"
slate: "npm:^0.118.1"
slate-hyperscript: "npm:^0.115.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
@@ -13685,8 +13685,8 @@ __metadata:
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
scroll-into-view-if-needed: "npm:^3.1.0"
slate: "npm:^0.118.0"
slate-dom: "npm:^0.117.4"
slate: "npm:^0.118.1"
slate-dom: "npm:^0.118.1"
slate-hyperscript: "npm:^0.115.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
@@ -13698,7 +13698,7 @@ __metadata:
languageName: unknown
linkType: soft
"slate@npm:^0.118.0, slate@workspace:*, slate@workspace:packages/slate":
"slate@npm:^0.118.0, slate@npm:^0.118.1, slate@workspace:*, slate@workspace:packages/slate":
version: 0.0.0-use.local
resolution: "slate@workspace:packages/slate"
dependencies: