mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-13 10:44:02 +02:00
v0.62.0 (#4156)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Ian Storm Taylor
parent
b650dcaac0
commit
f76ff2a276
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Added support for using the new `beforeInput` events in the latest Firefox.
|
@@ -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.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed spellcheck disabling logic to always work in older versions of Firefox.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed browser-detection behavior to work with Deno.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Updated placeholder styles to allow for wrapping long placeholder text.
|
@@ -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.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed selection updating with IME inputs in browsers that support `beforeinput`.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed selection logic when a controlled editor's nodes change out from under it.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed a bug where memoization logic would prevent placeholders from re-rendering properly.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Added invariants when passing invalud `value` or `editor` props to `<Editable>`.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed cursor movement in RTL text.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
slate: patch
|
||||
---
|
||||
|
||||
Fixed `move_node` operations to normalize the node in question.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
slate: patch
|
||||
---
|
||||
|
||||
Added memoization logic to `Node.isNodeList` and `Editor.isEditor` to speed up common code paths.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed a bug in the conversion of DOM points to Slate points.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed auto-scrolling behavior when a block is bigger than the viewport.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed a bug that occurred when using Babel's `loose` mode.
|
@@ -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.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-history': patch
|
||||
---
|
||||
|
||||
Fixed history logic to not store focus and blur selection changes in the history.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed deleting void elements when using cut-and-paste.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed a bug that crashed the editor when using IME input.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
slate: patch
|
||||
---
|
||||
|
||||
Fixed a bug when merging deeply nested multi-child nodes.
|
@@ -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.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed allowing the `onPaste` handler to be overridden in all browsers.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed internal decoration logic to be faster and require fewer re-renders.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed an error that happened when selecting void nodes in a read-only editor.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed `move_node` operations to not always require a full re-render.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed normalization of DOM points to be more accurate when triple-clicking.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed a bug that prevented `isFocused` from updating on certain focus changes.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
slate: patch
|
||||
---
|
||||
|
||||
Fixed a bug when deleting a hanging range with a trailing void block node.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed IME input to not insert repeated characters.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixes Slate to work with the Shadow DOM.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed deleting by line to account for the line breaks in the browser.
|
@@ -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.
|
Reference in New Issue
Block a user