How to use the @keystonejs/field-content/blocks.imageContainer function in @keystonejs/field-content

To help you get started, we’ve selected a few @keystonejs/field-content examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github keystonejs / keystone / packages / fields / src / types / CloudinaryImage / ImageBlock.js View on Github external
getAdminViews() {
    return [
      importView('./views/blocks/single-image'),
      ...new imageContainer().getAdminViews(),
      ...new caption().getAdminViews(),
    ];
  }

@keystonejs/field-content

A block-based content field for KeystoneJS

MIT
Latest version published 4 years ago

Package Health Score

73 / 100
Full package analysis

Similar packages