Field Editors

screenshot of Field Editors
react
contentful

React components and extensions for building Contentful entry editor

Overview:

The @contentful/field-editorslerna is a monorepo that contains all the field editors and apps developed by Contentful. These field editors and apps are built using the App SDK and allow users to understand how each editor works, fork existing apps, or create their own apps based on existing Contentful components' source code. The project uses Typescript, React, Forma36 (a design system & component library by Contentful), and is managed using Lerna. Code in the repository is automatically formatted with Prettier and checked with ESLint on every commit using Git hooks.

Features:

  • Available field editors: The repository contains a variety of field editors that can be used in custom Contentful apps, including single line editor, multi line editor, dropdown, tags, list, checkbox, radio, boolean, rating, number, URL, JSON, location, date, markdown, slug, entry reference/media, and rich text.
  • Shared packages: The repository also includes shared packages that simplify the development and testing of field and entry apps.
  • GlobalStyled component: To achieve the same field editor look as in the Contentful UI, the repository provides a GlobalStyled component that needs to be rendered.
react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

contentful
Contentful

Contentful is a headless content management system (CMS) that provides a flexible and scalable platform for creating, managing, and delivering digital content across multiple channels and devices.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.