Skip to content

Releases: ianstormtaylor/slate

slate@0.124.0

24 Mar 14:37
f0258b5

Choose a tag to compare

Minor Changes

Patch Changes

slate@0.123.0

24 Mar 14:37
49dbda9

Choose a tag to compare

Minor Changes

  • #6000 8d9bf305 Thanks @nabbydude! - Added Location.isPath, Location.isPoint, Location.isRange, and Location.isSpan functions, as efficient type discriminators.
    Use these instead of Path.isPath, Point.isPoint, Range.isRange, and Span.isSpan whenever possible.

slate-react@0.124.0

24 Mar 14:38
f0258b5

Choose a tag to compare

Patch Changes

  • #6012 57bdd4fe Thanks @changlin-cn! - Fix Slate component to properly handle editor updates by adding editor as a dependency in the useEffect hook.

slate-react@0.123.0

24 Mar 14:37
49dbda9

Choose a tag to compare

Patch Changes

  • #6000 8d9bf305 Thanks @nabbydude! - Added Location.isPath, Location.isPoint, Location.isRange, and Location.isSpan functions, as efficient type discriminators.
    Use these instead of Path.isPath, Point.isPoint, Range.isRange, and Span.isSpan whenever possible.

slate-hyperscript@0.115.0

24 Mar 14:37
9cce07b

Choose a tag to compare

Patch Changes

  • #5862 98b115b7 Thanks @12joan! - Increase minimum slate version to 0.114.3

  • #5859 72532fd2 Thanks @12joan! - Optimize isElement, isText, isNodeList and isEditor by removing dependency on is-plain-object and by performing shallow checks by default. To perform a full check, including all descendants, pass the { deep: true } option to isElement, isNodeList or isEditor.

slate-history@0.115.0

24 Mar 14:37
9cce07b

Choose a tag to compare

Patch Changes

  • #5866 7f5f9e1c Thanks @nabbydude! - Fix certain undos undoing more than they should

  • #5862 98b115b7 Thanks @12joan! - Increase minimum slate version to 0.114.3

  • #5859 72532fd2 Thanks @12joan! - Optimize isElement, isText, isNodeList and isEditor by removing dependency on is-plain-object and by performing shallow checks by default. To perform a full check, including all descendants, pass the { deep: true } option to isElement, isNodeList or isEditor.

slate-dom@0.124.0

24 Mar 14:37
f0258b5

Choose a tag to compare

Patch Changes

slate-dom@0.123.0

24 Mar 14:37
49dbda9

Choose a tag to compare

Patch Changes

  • #6000 8d9bf305 Thanks @nabbydude! - Added Location.isPath, Location.isPoint, Location.isRange, and Location.isSpan functions, as efficient type discriminators.
    Use these instead of Path.isPath, Point.isPoint, Range.isRange, and Span.isSpan whenever possible.

slate@0.120.0

01 Dec 21:11
eae2474

Choose a tag to compare

Patch Changes

slate-react@0.120.0

01 Dec 21:11
eae2474

Choose a tag to compare

Minor Changes

  • #5968 49f28e50 Thanks @TyMick! - Scroll to focus point of expanded selections in defaultScrollSelectionIntoView

Patch Changes

  • #5976 3d38db8f Thanks @semimikoh! - Fix slate-dom peer dependency to require >=0.119.0 to resolve containsShadowAware import error

  • #5975 d0d192b8 Thanks @nabbydude! - Allow onValueChange and onSelectionChange to trigger on the same frame, fixing a few bugs where one was not being called