Skip to content

Adding additional fields #49

Open
Open
@jackfowler

Description

@jackfowler

Hi there,
I think it would be a super handy feature if we could add additional fields to a Cloudinary asset. Just the same way as you can with Images or Files within Sanity. For example:

{
  name: 'portfolioItem',
  type: 'cloudinary.asset',
  fields: [
    {
      name: 'link',
      type: 'link',
    },
   ]
},

I know I could nest the asset in an object, but this breaks the multiple uploads, which is a bit of a deal breaker.

I'd be happy to have a go at this myself and open a PR, would someone be able to point me in the right direction? Or even just let me know if it will be possible?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions