Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field component in rich-text blocks doesn’t work #9660

Closed
ChannKan opened this issue Dec 2, 2024 · 2 comments · Fixed by #10276
Closed

Field component in rich-text blocks doesn’t work #9660

ChannKan opened this issue Dec 2, 2024 · 2 comments · Fixed by #10276
Assignees
Labels
plugin: richtext-lexical @payloadcms/richtext-lexical

Comments

@ChannKan
Copy link

ChannKan commented Dec 2, 2024

Describe the Bug

When adding a field component to a field inside a block/Inline-block (inside rich-text), the field label disappears.

Link to the code that reproduces this issue

https://github.com/shefing/payload_Inline_block_with_relationship/tree/Check_blocks_component

Reproduction Steps

Steps to reproduce:

  1. Clone repo and lunch payload
  2. Crate a new post instance
  3. Add a inline-block
  4. Open the inline-block editor

Expected:
Text field has a description/label 'Text to display'

Actual:
Text field has no description/label (Attached screenshot - second field in the inline-block)
Image

Which area(s) are affected? (Select all that apply)

plugin: richtext-lexical

Environment Info

Node: 22.11.0
  payload: 3.2.2
  next: 15.0.3
@ChannKan ChannKan added status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Dec 2, 2024
@AlessioGr AlessioGr self-assigned this Dec 19, 2024
@AlessioGr AlessioGr added the plugin: richtext-lexical @payloadcms/richtext-lexical label Dec 19, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Dec 19, 2024
@AlessioGr AlessioGr added the status: verified If an issue has been reproduced label Dec 31, 2024
AlessioGr added a commit that referenced this issue Dec 31, 2024
…ncorrectly generated client field schema map (#10276)

Fixes #9905,
#9660

Single lexical fields were represented file in the schema map (`path =>
field`). In the client schema map however, they were incorrectly
represented like this: `path => { fields: [field] } `
@github-actions github-actions bot removed the status: verified If an issue has been reproduced label Dec 31, 2024
Copy link
Contributor

github-actions bot commented Jan 2, 2025

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2025
@github-actions github-actions bot unlocked this conversation Jan 2, 2025
Copy link
Contributor

github-actions bot commented Jan 2, 2025

🚀 This is included in version v3.13.0

@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plugin: richtext-lexical @payloadcms/richtext-lexical
Projects
None yet
2 participants