mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-25 16:20:49 +02:00
Version Packages
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
---
|
||||
'slate': minor
|
||||
---
|
||||
|
||||
- When removing a text node containing the cursor, always perfer placing the cursor in a sibling text node if one exists.
|
||||
- Previously, the selection would enter a sibling inline in some circumstances, even when a sibling text node was available.
|
||||
- The most noticeable effect of this change occurs when pressing backspace at the start of line N when the last non-empty node in line N-1 is an inline.
|
||||
- Before, the cursor would be placed inside the inline.
|
||||
- Now, the cursor is placed outside the inline.
|
@@ -29,7 +29,7 @@
|
||||
"@types/jsdom": "^21.1.4",
|
||||
"@types/lodash": "^4.14.200",
|
||||
"@types/resize-observer-browser": "^0.1.8",
|
||||
"slate": "^0.117.0",
|
||||
"slate": "^0.118.0",
|
||||
"slate-hyperscript": "^0.115.0",
|
||||
"source-map-loader": "^4.0.1"
|
||||
},
|
||||
|
@@ -16,7 +16,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/runtime": "^7.23.2",
|
||||
"lodash": "^4.17.21",
|
||||
"slate": "^0.117.0",
|
||||
"slate": "^0.118.0",
|
||||
"slate-hyperscript": "^0.115.0",
|
||||
"source-map-loader": "^4.0.1"
|
||||
},
|
||||
|
@@ -15,7 +15,7 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@babel/runtime": "^7.23.2",
|
||||
"slate": "^0.117.0",
|
||||
"slate": "^0.118.0",
|
||||
"source-map-loader": "^4.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@@ -34,7 +34,7 @@
|
||||
"@types/resize-observer-browser": "^0.1.8",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"slate": "^0.117.2",
|
||||
"slate": "^0.118.0",
|
||||
"slate-dom": "^0.117.4",
|
||||
"slate-hyperscript": "^0.115.0",
|
||||
"source-map-loader": "^4.0.1"
|
||||
|
@@ -1,5 +1,15 @@
|
||||
# slate
|
||||
|
||||
## 0.118.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#5923](https://github.com/ianstormtaylor/slate/pull/5923) [`ba33735a`](https://github.com/ianstormtaylor/slate/commit/ba33735a8ca7ca7437e891365451d25a6646a4c7) Thanks [@12joan](https://github.com/12joan)! - - When removing a text node containing the cursor, always perfer placing the cursor in a sibling text node if one exists.
|
||||
- Previously, the selection would enter a sibling inline in some circumstances, even when a sibling text node was available.
|
||||
- The most noticeable effect of this change occurs when pressing backspace at the start of line N when the last non-empty node in line N-1 is an inline.
|
||||
- Before, the cursor would be placed inside the inline.
|
||||
- Now, the cursor is placed outside the inline.
|
||||
|
||||
## 0.117.2
|
||||
|
||||
### Patch Changes
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "slate",
|
||||
"description": "A completely customizable framework for building rich text editors.",
|
||||
"version": "0.117.2",
|
||||
"version": "0.118.0",
|
||||
"license": "MIT",
|
||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||
"main": "dist/index.js",
|
||||
|
10
yarn.lock
10
yarn.lock
@@ -13341,7 +13341,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.117.0"
|
||||
slate: "npm:^0.118.0"
|
||||
slate-hyperscript: "npm:^0.115.0"
|
||||
source-map-loader: "npm:^4.0.1"
|
||||
tiny-invariant: "npm:1.3.1"
|
||||
@@ -13356,7 +13356,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/runtime": "npm:^7.23.2"
|
||||
lodash: "npm:^4.17.21"
|
||||
slate: "npm:^0.117.0"
|
||||
slate: "npm:^0.118.0"
|
||||
slate-hyperscript: "npm:^0.115.0"
|
||||
source-map-loader: "npm:^4.0.1"
|
||||
peerDependencies:
|
||||
@@ -13369,7 +13369,7 @@ __metadata:
|
||||
resolution: "slate-hyperscript@workspace:packages/slate-hyperscript"
|
||||
dependencies:
|
||||
"@babel/runtime": "npm:^7.23.2"
|
||||
slate: "npm:^0.117.0"
|
||||
slate: "npm:^0.118.0"
|
||||
source-map-loader: "npm:^4.0.1"
|
||||
peerDependencies:
|
||||
slate: ">=0.114.3"
|
||||
@@ -13483,7 +13483,7 @@ __metadata:
|
||||
react: "npm:^18.2.0"
|
||||
react-dom: "npm:^18.2.0"
|
||||
scroll-into-view-if-needed: "npm:^3.1.0"
|
||||
slate: "npm:^0.117.2"
|
||||
slate: "npm:^0.118.0"
|
||||
slate-dom: "npm:^0.117.4"
|
||||
slate-hyperscript: "npm:^0.115.0"
|
||||
source-map-loader: "npm:^4.0.1"
|
||||
@@ -13496,7 +13496,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"slate@npm:^0.117.0, slate@npm:^0.117.2, slate@workspace:*, slate@workspace:packages/slate":
|
||||
"slate@npm:^0.118.0, slate@workspace:*, slate@workspace:packages/slate":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "slate@workspace:packages/slate"
|
||||
dependencies:
|
||||
|
Reference in New Issue
Block a user