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

Richtext field read-only in a modal. #7856

Closed
FiniteVoid opened this issue Aug 26, 2024 · 2 comments
Closed

Richtext field read-only in a modal. #7856

FiniteVoid opened this issue Aug 26, 2024 · 2 comments
Assignees
Labels
plugin: richtext-lexical @payloadcms/richtext-lexical v3

Comments

@FiniteVoid
Copy link

Link to reproduction

(Only 2 steps needed from Blank Template)

Payload Version

Beta 91

Node Version

20 LTS

Next.js Version

Canary 104

Describe the Bug

When opened in a modal Richtext field becomes read-only (even when no access control is implemented).
It essentially happens when editing/creating a new item for a related collection in 'relationship' or 'upload' field.
This only happens to richText field, rest of the fields in model work fine.

Reproduction Steps

Start off with Blank Template:

  • Add a richtext field to the media collection.
  • Add a relationship field for media in users collection.
  • Notice the read-only richText when adding a new media from users collection in the modal.

Adapters and Plugins

No response

@FiniteVoid FiniteVoid added status: needs-triage Possible bug which hasn't been reproduced yet v3 labels Aug 26, 2024
@AlessioGr AlessioGr self-assigned this Aug 26, 2024
@AlessioGr AlessioGr added the plugin: richtext-lexical @payloadcms/richtext-lexical label Aug 26, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Aug 26, 2024
@AlessioGr
Copy link
Member

Fixed by #8774

Copy link

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 Nov 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plugin: richtext-lexical @payloadcms/richtext-lexical v3
Projects
None yet
Development

No branches or pull requests

2 participants