Skip to content

Click-to-Edit in sanity/presentation Fails to Highlight Field #103

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

Open
judysocute opened this issue Oct 11, 2024 · 1 comment
Open

Click-to-Edit in sanity/presentation Fails to Highlight Field #103

judysocute opened this issue Oct 11, 2024 · 1 comment

Comments

@judysocute
Copy link

Describe the bug

When using this data type, the click-to-edit functionality in sanity/presentation stopped working for the field. Even though I used the directed URL http://localhost:3333/presentation/blogPost/{{id}}/{{filedName}}, it still doesn't automatically highlight it.

To Reproduce

Steps to reproduce the behavior:

  1. Create a page that uses this field.
  2. Implement a live preview presentation on the page or website by following this guide: https://www.sanity.io/guides/nextjs-app-router-live-preview
  3. Find the click-to-edit field of this type
  4. See error

Expected behavior

I expected to fully link the field.

Screenshots

bug_response

Which versions of Sanity are you using?

@sanity/cli (global) 3.59.0 (latest: 3.60.0)
@sanity/asset-utils 1.3.0 (latest: 2.0.6)
@sanity/eslint-config-studio 4.0.0 (up to date)
@sanity/vision 3.60.0 (up to date)
sanity 3.60.0 (up to date)

What operating system are you using?

Mac OS 14.6.1

Which versions of Node.js / npm are you running?

10.2.3
v20.10.0

Additional context

Security issue?

@sameerxanand
Copy link

This is still an issue for me using the latest versions of the plugin and of Sanity + Next.js.

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

2 participants