1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-13 18:01:53 +02:00

update changesets

This commit is contained in:
Ian Storm Taylor 2021-03-31 21:55:10 -04:00
parent 39e47dc518
commit c60020244b
23 changed files with 110 additions and 5 deletions

View File

@ -0,0 +1,5 @@
---
'slate-react': minor
---
**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.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed spellcheck disabling logic to always work in older versions of Firefox.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed browser-detection behavior to work with Deno.

View File

@ -0,0 +1,5 @@
---
slate: minor
---
**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.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed a bug where memoization logic would prevent placeholders from re-rendering properly.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed cursor movement in RTL text.

View File

@ -0,0 +1,5 @@
---
slate: patch
---
Fixed `move_node` operations to normalize the node in question.

View File

@ -0,0 +1,5 @@
---
slate: patch
---
Added memoization logic to `Node.isNodeList` and `Editor.isEditor` to speed up common code paths.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed a bug in the conversion of DOM points to Slate points.

View File

@ -2,4 +2,4 @@
'slate-react': patch
---
Fix editor auto-scrolling behavior when a block is bigger than the viewport.
Fixed auto-scrolling behavior when a block is bigger than the viewport.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed a bug that occurred when using Babel's `loose` mode.

View File

@ -1,8 +1,8 @@
---
'slate': patch
'slate-history': patch
'slate-hyperscript': patch
'slate-react': patch
'slate': minor
'slate-history': minor
'slate-hyperscript': minor
'slate-react': minor
---
**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.

View File

@ -0,0 +1,5 @@
---
'slate-history': patch
---
Fixed history logic to not store focus and blur selection changes in the history.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed deleting void elements when using cut-and-paste.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed a bug that crashed the editor when using IME input.

View File

@ -0,0 +1,5 @@
---
slate: patch
---
Fixed a bug when merging deeply nested multi-child nodes.

View File

@ -0,0 +1,5 @@
---
slate: minor
---
**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.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed internal decoration logic to be faster and require fewer re-renders.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed `move_node` operations to not always require a full re-render.

View File

@ -0,0 +1,5 @@
---
slate: patch
---
Fixed a bug when deleting a hanging range with a trailing void block node.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed IME input to not insert repeated characters.

View File

@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed deleting by line to account for the line breaks in the browser.

View File

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