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:
committed by
GitHub
parent
22a3dda36d
commit
ee2cea9ea1
@@ -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)
|
@@ -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.
|
@@ -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 } }[]`.
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': minor
|
||||
---
|
||||
|
||||
Use equalityFn in useSlateSelector during render as well
|
Reference in New Issue
Block a user