BlocksFeature : id field with default value not respected #10295
Labels
plugin: richtext-lexical
@payloadcms/richtext-lexical
status: needs-triage
Possible bug which hasn't been reproduced yet
Describe the Bug
When implementing the BlocksNode component in Lexical Blocks, I intend to use UUIDs for block IDs. However, despite attempting to integrate UUIDs, the system continues to generate and use hex strings as IDs.
Expected behavior: The system should generate and assign a UUID for each new block created within the BlocksNode component.
Current behavior: The blocks still receive hex string IDs, contrary to the expected UUID format. This occurs even though I have attempted to override the default ID generation method.
Link to the code that reproduces this issue
https://github.com/himanshu-ntml/extend-table-issue
Reproduction Steps
Which area(s) are affected? (Select all that apply)
plugin: richtext-lexical
Environment Info
The text was updated successfully, but these errors were encountered: