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

Inconsistent Change Detection for Rich Text Body Field in Sanity Studio #7805

Open
shadi-almilhem opened this issue Nov 13, 2024 · 0 comments

Comments

@shadi-almilhem
Copy link

When editing the body field (rich text / block content) in Sanity Studio, changes are not consistently detected. Occasionally, the yellow "unsaved changes" indicator does not appear after editing text in the body field. This causes content to be lost if the document is saved without the field being recognized as changed. In some cases, multiple attempts are required before changes are acknowledged.

Expected Behavior:
When text is entered or edited in the body field, the yellow "unsaved changes" indicator should consistently appear, and changes should reliably save upon hitting "Publish."

Actual Behavior:
The "unsaved changes" indicator sometimes fails to appear for the body field. This leads to loss of data when refreshing or navigating away, as the content does not save reliably.

Troubleshooting Steps Taken:
Confirmed that the body field is configured correctly as a block content array in the schema.
Updated Sanity Studio to the latest version.
Tried in multiple browsers and in incognito mode.
Disabled any plugins and cleared the browser cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant