CHANGELOG.md 14 KB

slate

0.72.8

Patch Changes

0.72.3

Patch Changes

0.72.2

Patch Changes

0.72.0

Patch Changes

For example:

  import type { BaseOperation } from 'slate'

  type CustomOperation =
   | BaseOperation
   | YourCustomOperation
   | AnotherCustomOperation

  declare module 'slate' {
    interface CustomTypes {
      Operation: CustomOperation;
    }
  }

0.71.0

Minor Changes

Patch Changes

  • #4671 e3afda94 Thanks @unageek! - Fixed the issue where the cursor jumps more than one character unexpectedly

0.70.0

Minor Changes

  • #4565 5818aca5 Thanks @oliger! - Fix issue with unicode 1.1 smileys followed by a variation selector.

Patch Changes

0.67.1

Patch Changes

0.66.5

Patch Changes

  • #4552 37d60c58 Thanks @clauderic! - Only apply Firefox toSlatePoint() offset fix when the cloned contents end in \n\n instead of just \n.

0.66.2

Patch Changes

0.66.1

Patch Changes

0.66.0

Minor Changes

Patch Changes

0.65.3

Patch Changes

0.63.0

Minor Changes

  • #4230 796389c7 Thanks @TheSpyder! - Applying invalid insert_node operations will now throw an exception for all invalid paths, not just invalid parent paths.

Patch Changes

  • #4245 b33a531b Thanks @JonasKruckenberg! - Removed lodash dependecy to reduce bundled footprint

  • #4208 feb293aa Thanks @TheSpyder! - Fix Error: Cannot get the start point in the node at path [...] because it has no start text node caused by normalizing a document where some elements have no children

  • #4230 796389c7 Thanks @TheSpyder! - Exceptions in editor.apply() and Editor.withoutNormalizing() will no longer leave the editor in an invalid state

  • #4227 e6413d46 Thanks @ulion! - Fixed a bug that would allow multiple changes to be scheduled at the same time.

0.62.1

Patch Changes

0.62.0

Minor Changes

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

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

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

Patch Changes

  • c6002024 - Fixed move_node operations to normalize the node in question.

  • c6002024 - Added memoization logic to Node.isNodeList and Editor.isEditor to speed up common code paths.

  • c6002024 - Fixed a bug when merging deeply nested multi-child nodes.

  • c6002024 - Fixed a bug when deleting a hanging range with a trailing void block node.

  • c6002024 - Fixed a bug in Editor.positions which caused it to sometimes skip positions in text nodes that were segmented across inlines or marks.