Skip to content

Releases: ianstormtaylor/slate

slate-hyperscript@0.125.0

30 May 13:52
19a7dff

Choose a tag to compare

Minor Changes

  • #6065 cf5b3520 Thanks @12joan! - - Introduced new HyperscriptPointRef and HyperscriptRangeRef classes.
    • A HyperscriptPointRef can passed to the ref prop of the new <point /> tag to store any arbitrary point in the editor.
    • To access the point, call the point() method on the HyperscriptPointRef instance.
    • A HyperscriptRangeRef can be passed to the ref prop of an <anchor /> or <focus /> tag to construct an arbitrary range.
    • <anchor /> and <focus /> tags used in this manner do not affect editor.selection.
    • To access the range, call the range() method on the HyperscriptRangeRef instance.

slate-react@0.124.2

14 May 05:32
bd2441c

Choose a tag to compare

Patch Changes

slate@0.124.1

11 Apr 18:06
66c3a73

Choose a tag to compare

Patch Changes

  • #6040 20a1a937 Thanks @12joan! - - Harden property accessors against untrusted keys
    • Fix incorrect argument types for the compare and merge options of Transforms.setNodes

slate-dom@0.124.1

11 Apr 18:06
66c3a73

Choose a tag to compare

Patch Changes

  • #6040 20a1a937 Thanks @12joan! - - Harden property accessors against untrusted keys
    • Fix incorrect argument types for the compare and merge options of Transforms.setNodes

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.