1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-13 10:44:02 +02:00
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2021-04-01 00:20:29 -04:00
committed by Ian Storm Taylor
parent b650dcaac0
commit f76ff2a276
41 changed files with 179 additions and 178 deletions

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Added support for using the new `beforeInput` events in the latest Firefox.

View File

@@ -1,5 +0,0 @@
---
'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

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

View File

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

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Updated placeholder styles to allow for wrapping long placeholder text.

View File

@@ -1,5 +0,0 @@
---
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

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed selection updating with IME inputs in browsers that support `beforeinput`.

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed selection logic when a controlled editor's nodes change out from under it.

View File

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

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Added invariants when passing invalud `value` or `editor` props to `<Editable>`.

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed auto-scrolling behavior when a block is bigger than the viewport.

View File

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

View File

@@ -1,8 +0,0 @@
---
'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

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
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

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed allowing the `onPaste` handler to be overridden in all browsers.

View File

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

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed an error that happened when selecting void nodes in a read-only editor.

View File

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

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed normalization of DOM points to be more accurate when triple-clicking.

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed a bug that prevented `isFocused` from updating on certain focus changes.

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixes Slate to work with the Shadow DOM.

View File

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

View File

@@ -1,5 +0,0 @@
---
'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.