sanity-plugin-markdown icon indicating copy to clipboard operation
sanity-plugin-markdown copied to clipboard

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

Open judysocute opened this issue 1 year ago • 1 comments

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?

judysocute avatar Oct 11 '24 16:10 judysocute

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

sameerxanand avatar Dec 04 '24 16:12 sameerxanand