1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-22 15:02:51 +02:00

Version Packages (#5851)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-04-29 08:37:35 -07:00
committed by GitHub
parent 22a3dda36d
commit ee2cea9ea1
13 changed files with 37 additions and 36 deletions

View File

@@ -1,5 +0,0 @@
---
'slate-dom': patch
---
Fix: Deleting backward by a line misses 1 character (belated changeset for https://github.com/ianstormtaylor/slate/pull/5827)

View File

@@ -1,6 +0,0 @@
---
'slate-react': minor
---
- 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.

View File

@@ -1,5 +0,0 @@
---
'slate': minor
---
- Update `Text.decorations` to return the positions in addition to the leaf nodes: `{ leaf: Text, position?: { start: number, end: number, isFirst: boolean, isLast: boolean } }[]`.

View File

@@ -1,5 +0,0 @@
---
'slate-react': minor
---
Use equalityFn in useSlateSelector during render as well