mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-26 08:34:28 +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
|
|
||||||
---
|
|
||||||
|
|
||||||
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.
|
|
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Use generics for the return type of `Node.fragment`
|
|
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-dom': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Search backward and forward for leaf nodes in non contenteditable elements inside `toSlatePoint`
|
|
@@ -1,5 +1,11 @@
|
|||||||
# slate-dom
|
# 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
|
## 0.117.4
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "slate-dom",
|
"name": "slate-dom",
|
||||||
"description": "Tools for building completely customizable richtext editors with React.",
|
"description": "Tools for building completely customizable richtext editors with React.",
|
||||||
"version": "0.117.4",
|
"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",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"@types/jsdom": "^21.1.4",
|
"@types/jsdom": "^21.1.4",
|
||||||
"@types/lodash": "^4.14.200",
|
"@types/lodash": "^4.14.200",
|
||||||
"@types/resize-observer-browser": "^0.1.8",
|
"@types/resize-observer-browser": "^0.1.8",
|
||||||
"slate": "^0.118.0",
|
"slate": "^0.118.1",
|
||||||
"slate-hyperscript": "^0.115.0",
|
"slate-hyperscript": "^0.115.0",
|
||||||
"source-map-loader": "^4.0.1"
|
"source-map-loader": "^4.0.1"
|
||||||
},
|
},
|
||||||
|
@@ -34,8 +34,8 @@
|
|||||||
"@types/resize-observer-browser": "^0.1.8",
|
"@types/resize-observer-browser": "^0.1.8",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"slate": "^0.118.0",
|
"slate": "^0.118.1",
|
||||||
"slate-dom": "^0.117.4",
|
"slate-dom": "^0.118.1",
|
||||||
"slate-hyperscript": "^0.115.0",
|
"slate-hyperscript": "^0.115.0",
|
||||||
"source-map-loader": "^4.0.1"
|
"source-map-loader": "^4.0.1"
|
||||||
},
|
},
|
||||||
|
@@ -1,5 +1,18 @@
|
|||||||
# 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`.
|
||||||
|
|
||||||
|
- [#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
|
## 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",
|
||||||
|
10
yarn.lock
10
yarn.lock
@@ -13527,7 +13527,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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
|
version: 0.0.0-use.local
|
||||||
resolution: "slate-dom@workspace:packages/slate-dom"
|
resolution: "slate-dom@workspace:packages/slate-dom"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -13543,7 +13543,7 @@ __metadata:
|
|||||||
is-plain-object: "npm:^5.0.0"
|
is-plain-object: "npm:^5.0.0"
|
||||||
lodash: "npm:^4.17.21"
|
lodash: "npm:^4.17.21"
|
||||||
scroll-into-view-if-needed: "npm:^3.1.0"
|
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"
|
slate-hyperscript: "npm:^0.115.0"
|
||||||
source-map-loader: "npm:^4.0.1"
|
source-map-loader: "npm:^4.0.1"
|
||||||
tiny-invariant: "npm:1.3.1"
|
tiny-invariant: "npm:1.3.1"
|
||||||
@@ -13685,8 +13685,8 @@ __metadata:
|
|||||||
react: "npm:^18.2.0"
|
react: "npm:^18.2.0"
|
||||||
react-dom: "npm:^18.2.0"
|
react-dom: "npm:^18.2.0"
|
||||||
scroll-into-view-if-needed: "npm:^3.1.0"
|
scroll-into-view-if-needed: "npm:^3.1.0"
|
||||||
slate: "npm:^0.118.0"
|
slate: "npm:^0.118.1"
|
||||||
slate-dom: "npm:^0.117.4"
|
slate-dom: "npm:^0.118.1"
|
||||||
slate-hyperscript: "npm:^0.115.0"
|
slate-hyperscript: "npm:^0.115.0"
|
||||||
source-map-loader: "npm:^4.0.1"
|
source-map-loader: "npm:^4.0.1"
|
||||||
tiny-invariant: "npm:1.3.1"
|
tiny-invariant: "npm:1.3.1"
|
||||||
@@ -13698,7 +13698,7 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
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
|
version: 0.0.0-use.local
|
||||||
resolution: "slate@workspace:packages/slate"
|
resolution: "slate@workspace:packages/slate"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Reference in New Issue
Block a user