JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 84
  • Score
    100M100P100Q72449F
  • License MIT

A React component that allows inline/in-place edits.

Package Exports

  • react-inline-edit

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-inline-edit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Inline Edit

Allows you to to make inline/in-place edits to the text rendered inside the component.

Support: Chrome, Firefox, Safari (desktop & mobile) and IE 9+

The new version comes with a simpler API which uses <textarea> input elements that auto resize to fit in the text edits.

The previous version (v 1.x.x) of this module used contenteditable which was quirky by spec and had various issues.

Install

$ npm i react-inline-edit

Demo

React Inline Edit Demo

You can play around with the demo code in the demo folder.