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

PortableText [components.type] is missing "image" #60

Open
Bobetti opened this issue Oct 27, 2024 · 0 comments
Open

PortableText [components.type] is missing "image" #60

Bobetti opened this issue Oct 27, 2024 · 0 comments

Comments

@Bobetti
Copy link

Bobetti commented Oct 27, 2024

If you find a security vulnerability, do NOT open an issue. Email [email protected] instead.

Describe the bug

If I add an image inside blog post in sanity studio, between the post texts, this image will not be shown.
(where do you see blog posts without images?). All text is shown correctly.

To Reproduce
In Sanity studio,

  • add new post
  • add main image (it will be shown without problem)
  • add blog texts along with some images - none of the images will be shown

Expected behavior

A blog post must contain and show images within texts!

Which versions of Sanity are you using?

Latest on the moment of this bug writing.

Run sanity versions in the terminal and copy-paste the result here.

What operating system are you using?

Windows 10

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

v22.8.0

Additional context

Took your code and inserted my project Id and dataset. Nothing changed, and there are no images inside post.

Also played with my own website and tested different variations, but no luck.
Google solutions didn't help.
Claude gpt - didn't help.

I'm frustrated, how people using this, if no documentation provided!

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