Skip to content

Commit c600202

Browse files
update changesets
1 parent 39e47dc commit c600202

23 files changed

+110
-5
lines changed

.changeset/afraid-swans-pay.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': minor
3+
---
4+
5+
**Add directional awareness to `Editor.deleteFragment`.** This is an obscure change, but is a required distinction when implementing features that need to "fake delete" content (like Google Docs's suggestions). Previously deleting always collapsed to the end of a range, but now it can collapse forwards as well.

.changeset/brave-lions-approve.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed spellcheck disabling logic to always work in older versions of Firefox.

.changeset/clean-buses-perform.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed browser-detection behavior to work with Deno.

.changeset/dirty-carrots-brush.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slate: minor
3+
---
4+
5+
**Updated `Text.equals` to deeply compare text node properties.** Previously it only did a shallow comparison, but this made it harder to keep track of more complex data structures at the text level.

.changeset/five-dryers-boil.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed a bug where memoization logic would prevent placeholders from re-rendering properly.

.changeset/heavy-rice-drive.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed cursor movement in RTL text.

.changeset/kind-flies-build.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slate: patch
3+
---
4+
5+
Fixed `move_node` operations to normalize the node in question.

.changeset/late-pumas-eat.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slate: patch
3+
---
4+
5+
Added memoization logic to `Node.isNodeList` and `Editor.isEditor` to speed up common code paths.

.changeset/late-squids-deny.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed a bug in the conversion of DOM points to Slate points.

.changeset/lazy-trains-sell.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'slate-react': patch
33
---
44

5-
Fix editor auto-scrolling behavior when a block is bigger than the viewport.
5+
Fixed auto-scrolling behavior when a block is bigger than the viewport.

.changeset/light-peas-sip.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed a bug that occurred when using Babel's `loose` mode.

.changeset/lovely-rats-suffer.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
'slate': patch
3-
'slate-history': patch
4-
'slate-hyperscript': patch
5-
'slate-react': patch
2+
'slate': minor
3+
'slate-history': minor
4+
'slate-hyperscript': minor
5+
'slate-react': minor
66
---
77

88
**Start using [🦋 Changesets](https://github.com/atlassian/changesets) to manage releases.** Going forward, whenever a pull request is made that fixes or adds functionality to Slate, it will need to be accompanied by a changset Markdown file describing the change. These files will be automatically used in the release process when bump the versions of Slate and compiling the changelog.

.changeset/nasty-beds-occur.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-history': patch
3+
---
4+
5+
Fixed history logic to not store focus and blur selection changes in the history.

.changeset/nice-lemons-chew.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed deleting void elements when using cut-and-paste.

.changeset/ninety-radios-lay.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed a bug that crashed the editor when using IME input.

.changeset/pretty-cooks-remember.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slate: patch
3+
---
4+
5+
Fixed a bug when merging deeply nested multi-child nodes.

.changeset/quiet-rules-turn.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slate: minor
3+
---
4+
5+
**Added support for custom selection properties.** Previously you could set custom properties on the selection objects but it was not a fully supported feature because there was no way to delete them later. Now custom properties are officially supported and deleting them once set is possible.

.changeset/rich-suits-hammer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed internal decoration logic to be faster and require fewer re-renders.

.changeset/seven-suns-move.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed `move_node` operations to not always require a full re-render.

.changeset/tasty-apes-juggle.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slate: patch
3+
---
4+
5+
Fixed a bug when deleting a hanging range with a trailing void block node.

.changeset/tasty-tables-learn.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed IME input to not insert repeated characters.

.changeset/tough-parents-exercise.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate-react': patch
3+
---
4+
5+
Fixed deleting by line to account for the line breaks in the browser.

.changeset/violet-toes-hear.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'slate': patch
3+
---
4+
5+
Fixed a bug in `Editor.positions` which caused it to sometimes skip positions in text nodes that were segmented across inlines or marks.

0 commit comments

Comments
 (0)