Skip to content

Commit d1ad692

Browse files
Version Packages
1 parent ba33735 commit d1ad692

File tree

8 files changed

+20
-19
lines changed

8 files changed

+20
-19
lines changed

.changeset/stupid-ants-buy.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/slate-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@types/jsdom": "^21.1.4",
3030
"@types/lodash": "^4.14.200",
3131
"@types/resize-observer-browser": "^0.1.8",
32-
"slate": "^0.117.0",
32+
"slate": "^0.118.0",
3333
"slate-hyperscript": "^0.115.0",
3434
"source-map-loader": "^4.0.1"
3535
},

packages/slate-history/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"devDependencies": {
1717
"@babel/runtime": "^7.23.2",
1818
"lodash": "^4.17.21",
19-
"slate": "^0.117.0",
19+
"slate": "^0.118.0",
2020
"slate-hyperscript": "^0.115.0",
2121
"source-map-loader": "^4.0.1"
2222
},

packages/slate-hyperscript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"devDependencies": {
1717
"@babel/runtime": "^7.23.2",
18-
"slate": "^0.117.0",
18+
"slate": "^0.118.0",
1919
"source-map-loader": "^4.0.1"
2020
},
2121
"peerDependencies": {

packages/slate-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@types/resize-observer-browser": "^0.1.8",
3535
"react": "^18.2.0",
3636
"react-dom": "^18.2.0",
37-
"slate": "^0.117.2",
37+
"slate": "^0.118.0",
3838
"slate-dom": "^0.117.4",
3939
"slate-hyperscript": "^0.115.0",
4040
"source-map-loader": "^4.0.1"

packages/slate/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# slate
22

3+
## 0.118.0
4+
5+
### Minor Changes
6+
7+
- [#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.
8+
- Previously, the selection would enter a sibling inline in some circumstances, even when a sibling text node was available.
9+
- 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.
10+
- Before, the cursor would be placed inside the inline.
11+
- Now, the cursor is placed outside the inline.
12+
313
## 0.117.2
414

515
### Patch Changes

packages/slate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "slate",
33
"description": "A completely customizable framework for building rich text editors.",
4-
"version": "0.117.2",
4+
"version": "0.118.0",
55
"license": "MIT",
66
"repository": "git://github.com/ianstormtaylor/slate.git",
77
"main": "dist/index.js",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13341,7 +13341,7 @@ __metadata:
1334113341
is-plain-object: "npm:^5.0.0"
1334213342
lodash: "npm:^4.17.21"
1334313343
scroll-into-view-if-needed: "npm:^3.1.0"
13344-
slate: "npm:^0.117.0"
13344+
slate: "npm:^0.118.0"
1334513345
slate-hyperscript: "npm:^0.115.0"
1334613346
source-map-loader: "npm:^4.0.1"
1334713347
tiny-invariant: "npm:1.3.1"
@@ -13356,7 +13356,7 @@ __metadata:
1335613356
dependencies:
1335713357
"@babel/runtime": "npm:^7.23.2"
1335813358
lodash: "npm:^4.17.21"
13359-
slate: "npm:^0.117.0"
13359+
slate: "npm:^0.118.0"
1336013360
slate-hyperscript: "npm:^0.115.0"
1336113361
source-map-loader: "npm:^4.0.1"
1336213362
peerDependencies:
@@ -13369,7 +13369,7 @@ __metadata:
1336913369
resolution: "slate-hyperscript@workspace:packages/slate-hyperscript"
1337013370
dependencies:
1337113371
"@babel/runtime": "npm:^7.23.2"
13372-
slate: "npm:^0.117.0"
13372+
slate: "npm:^0.118.0"
1337313373
source-map-loader: "npm:^4.0.1"
1337413374
peerDependencies:
1337513375
slate: ">=0.114.3"
@@ -13483,7 +13483,7 @@ __metadata:
1348313483
react: "npm:^18.2.0"
1348413484
react-dom: "npm:^18.2.0"
1348513485
scroll-into-view-if-needed: "npm:^3.1.0"
13486-
slate: "npm:^0.117.2"
13486+
slate: "npm:^0.118.0"
1348713487
slate-dom: "npm:^0.117.4"
1348813488
slate-hyperscript: "npm:^0.115.0"
1348913489
source-map-loader: "npm:^4.0.1"
@@ -13496,7 +13496,7 @@ __metadata:
1349613496
languageName: unknown
1349713497
linkType: soft
1349813498

13499-
"slate@npm:^0.117.0, slate@npm:^0.117.2, slate@workspace:*, slate@workspace:packages/slate":
13499+
"slate@npm:^0.118.0, slate@workspace:*, slate@workspace:packages/slate":
1350013500
version: 0.0.0-use.local
1350113501
resolution: "slate@workspace:packages/slate"
1350213502
dependencies:

0 commit comments

Comments
 (0)