mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-24 09:13:24 +01:00
5.9 KiB
5.9 KiB
slate-react
0.62.0
Minor Changes
c6002024
- Add directional awareness toEditor.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.
- #4154
7283c51f
Thanks @ianstormtaylor! - Start using 🦋 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.
Patch Changes
- #4150
bbd7d9c3
Thanks @nivekithan! - Added support for using the newbeforeInput
events in the latest Firefox.
c6002024
- Fixed spellcheck disabling logic to always work in older versions of Firefox.
c6002024
- Fixed browser-detection behavior to work with Deno.
d5589279
- Updated placeholder styles to allow for wrapping long placeholder text.
- #3698
bf83f333
Thanks @pubuzhixing8! - Fixed selection updating with IME inputs in browsers that supportbeforeinput
.
- #3652
f3fb40cc
Thanks @Andarist! - Fixed selection logic when a controlled editor's nodes change out from under it.
c6002024
- Fixed a bug where memoization logic would prevent placeholders from re-rendering properly.
- #3326
d5b2d7f5
Thanks @rockettomatooo! - Added invariants when passing invaludvalue
oreditor
props to<Editable>
.
c6002024
- Fixed cursor movement in RTL text.
c6002024
- Fixed a bug in the conversion of DOM points to Slate points.
- #3746
f8be509e
Thanks @gztomas! - Fixed auto-scrolling behavior when a block is bigger than the viewport.
c6002024
- Fixed a bug that occurred when using Babel'sloose
mode.
c6002024
- Fixed deleting void elements when using cut-and-paste.
c6002024
- Fixed a bug that crashed the editor when using IME input.
- #3396
469e6b26
Thanks @cvlmtg! - Fixed allowing theonPaste
handler to be overridden in all browsers.
c6002024
- Fixed internal decoration logic to be faster and require fewer re-renders.
- #3894
7fe41f15
Thanks @msc117! - Fixed an error that happened when selecting void nodes in a read-only editor.
c6002024
- Fixedmove_node
operations to not always require a full re-render.
d5589279
- Fixed normalization of DOM points to be more accurate when triple-clicking.
d5589279
- Fixed a bug that preventedisFocused
from updating on certain focus changes.
c6002024
- Fixed IME input to not insert repeated characters.
- #3749
0473d0bf
Thanks @davidruisinger! - Fixes Slate to work with the Shadow DOM.
c6002024
- Fixed deleting by line to account for the line breaks in the browser.