1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 09:13:24 +01:00
slate/packages/slate-react/CHANGELOG.md
2021-04-01 01:41:07 -04:00

5.9 KiB

slate-react

0.62.0

Minor Changes

  • c6002024 - 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.
  • #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

  • 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.
  • #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.
  • 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's loose 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 the onPaste 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 - Fixed move_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 prevented isFocused from updating on certain focus changes.
  • c6002024 - Fixed IME input to not insert repeated characters.
  • c6002024 - Fixed deleting by line to account for the line breaks in the browser.