-
Notifications
You must be signed in to change notification settings - Fork 937
Open
Labels
Description
Description
Hi,
When the nodeId plugin is configured with a specific idKey other than "id" the resetBlock function does not respect that and thus remove the idKey prop.
| const { id, type, ...otherProps } = NodeApi.extractProps(block); |
Reproduction URL
No response
Reproduction steps
Create a basic Plate setup and configure `idKey` to `"key"` for example.
Then try to reset and node
-> The `key` prop get removedPlate version
49
Slate React version
0.118.1
Screenshots
Logs
Browsers
Chrome