ianstormtaylor/slate
 Watch   
 Star   
 Fork   
23 hours ago
slate

slate-dom@0.114.0

Patch Changes

23 hours ago
slate

slate-react@0.114.0

Minor Changes

  • #5850 22a3dda3 Thanks @zbeyens! - - Update RenderLeafProps interface to add leafPosition property containing start, end, isFirst, and isLast when a text node is split by decorations.

    • Add optional renderText prop to <Editable /> component for customizing text node rendering.
  • #5848 2c62e017 Thanks @dpolugic! - Use equalityFn in useSlateSelector during render as well

23 hours ago
slate

slate@0.114.0

Minor Changes

  • #5850 22a3dda3 Thanks @zbeyens! - - Update Text.decorations to return the positions in addition to the leaf nodes: { leaf: Text, position?: { start: number, end: number, isFirst: boolean, isLast: boolean } }[].
14 days ago
slate

slate-history@0.113.1

Patch Changes

  • #5837 701d5f32 Thanks @ederzz! - fix: add try/finally block in withoutSaving method to ensure state restoration
2025-01-31 07:08:58
slate

slate-dom@0.112.2

Patch Changes

  • #5792 82165125 Thanks @zhi-zhi-zhi! - fix: additional fix for previous fix: Prevent ReactEditor.toDOMRange crash in setDomSelection #5741
2025-01-21 01:36:40
slate

slate-react@0.112.1

Patch Changes

2024-12-08 04:27:23
slate

slate@0.112.0

Minor Changes

  • #5776 5a1c728c Thanks @yf-yang! - Add merge optional function to decorations and change related type signatures to DecoratedRange. Now developers can specify how two decoration object with the same key but different value are merged together if they overlap"

Patch Changes

2024-12-08 04:27:23
slate

slate-react@0.112.0

Patch Changes

2024-11-02 01:47:32
slate

slate-react@0.111.0

Minor Changes

2024-11-02 01:47:32
slate

slate-dom@0.111.0

Minor Changes