ianstormtaylor/slate
 Watch   
 Star   
 Fork   
11 days ago
slate

slate-react@0.125.1

Patch Changes

  • #6033 23e6a84e Thanks @dannelundqvist! - Fix caret jumping to wrong position when the decorate prop changes asynchronously

  • #6079 a6b520ed Thanks @dylans! - Fix Firefox contenteditable text input breaking on editor mount, caused by a forced re-render added in useDecorateContext for decoration-driven caret restoration (#6078)

2026-05-30 21:52:56
slate

slate-hyperscript@0.125.0

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.
2026-05-14 13:32:11
slate

slate-react@0.124.2

Patch Changes

2026-04-12 02:06:52
slate

slate@0.124.1

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
2026-04-12 02:06:52
slate

slate-dom@0.124.1

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
2026-03-24 22:22:42
slate

slate-react@0.124.0

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.
2026-03-24 22:22:39
slate

slate-dom@0.124.0

Patch Changes

2026-03-24 22:22:37
slate

slate@0.124.0

Minor Changes

Patch Changes

2026-03-24 22:22:34
slate

slate-react@0.123.0

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.
2026-03-24 22:22:31
slate

slate-dom@0.123.0

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.