plate icon indicating copy to clipboard operation
plate copied to clipboard

The value created by api.create.block() does not provide an id

Open natamox opened this issue 1 year ago • 0 comments

Description

This will cause the first paragraph to not be selected when I select all because it has no id.

https://github.com/udecode/plate/blob/56e0051b064d1af654fb31ac483a1bed198eaa96/packages/core/src/lib/plugins/editor-protocol/SlateNextPlugin.ts#L95-L99

Reproduction URL

No response

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Plate version

38.0.6

Slate React version

0.103.0

Screenshots

image

Logs

No response

Browsers

No response

natamox avatar Sep 30 '24 08:09 natamox