# @bitmetro/react-page-editor

> ![react page editor](https://media.giphy.com/media/UoeNfsHNPTgI5rmQsA/giphy.gif)

Latest version **0.0.25** (published 2021-02-22) · 0 weekly downloads

## Install

```sh
npm install @bitmetro/react-page-editor
pnpm add @bitmetro/react-page-editor
yarn add @bitmetro/react-page-editor
bun add @bitmetro/react-page-editor
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.25 |
| Published | 2021-02-22 |
| First published | 2021-02-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 17 |
| Unpacked size | 160.4 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | alastairzotos |
| Keywords | page editor, content editor, react page editor, react content editor, wysiwyg, wysiwyg editor, react wysiwyg, react wysiwyg editor, drag and drop editor, react drag and drop editor |

## Links

- npm: https://www.npmjs.com/package/@bitmetro/react-page-editor
- Repository: https://github.com/alastairzotos/react-page-editor
- Issues: https://github.com/alastairzotos/react-page-editor/issues
- npm.io page: https://npm.io/package/@bitmetro/react-page-editor

## Dependencies (17)

- [clsx](https://npm.io/package/clsx.md) ^1.1.1
- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [redux](https://npm.io/package/redux.md) ^4.0.5
- [draft-js](https://npm.io/package/draft-js.md) ^0.11.7
- [reselect](https://npm.io/package/reselect.md) ^4.0.0
- [react-jss](https://npm.io/package/react-jss.md) ^10.5.1
- [deep-equal](https://npm.io/package/deep-equal.md) ^2.0.5
- [react-redux](https://npm.io/package/react-redux.md) ^7.2.2
- [redux-logger](https://npm.io/package/redux-logger.md) ^3.0.6
- [react-hot-keys](https://npm.io/package/react-hot-keys.md) ^2.6.2
- [@reduxjs/toolkit](https://npm.io/package/@reduxjs/toolkit.md) ^1.5.0
- [react-split-pane](https://npm.io/package/react-split-pane.md) ^0.1.92
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^4.11.3
- [@material-ui/icons](https://npm.io/package/@material-ui/icons.md) ^4.11.2
- [react-draft-wysiwyg](https://npm.io/package/react-draft-wysiwyg.md) ^1.14.5
- [@bitmetro/cms-common](https://npm.io/package/@bitmetro/cms-common.md) 0.0.1
- [@bitmetro/content-renderer](https://npm.io/package/@bitmetro/content-renderer.md) 0.0.13

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.0.25 (latest) — 2021-02-22
- 0.0.24 — 2021-02-20
- 0.0.23 — 2021-02-20
- 0.0.22 — 2021-02-20
- 0.0.21 — 2021-02-20
- 0.0.20 — 2021-02-20
- 0.0.19 — 2021-02-20
- 0.0.18 — 2021-02-18
- 0.0.17 — 2021-02-18
- 0.0.16 — 2021-02-16
- 0.0.15 — 2021-02-16
- 0.0.14 — 2021-02-16
- 0.0.13 — 2021-02-16
- 0.0.12 — 2021-02-16
- 0.0.11 — 2021-02-16
- … 10 more at https://npm.io/package/@bitmetro/react-page-editor/versions

## README

# @bitmetro/react-page-editor

![react page editor](https://media.giphy.com/media/UoeNfsHNPTgI5rmQsA/giphy.gif)

An easy-to-use drag-and-drop content editor for React.

Note that this is currently a WIP and there may be breaking changes.

You can raise any issues or ask questions in the [Github repo](https://github.com/alastairzotos/react-page-editor).

## Installation

```
npm install --save @bitmetro/react-page-editor
```


## Usage

```jsx
const App = () => {
    const [state, setState] = React.useState(createPage());

    return <ContentEditor content={state} onChange={s => setState(s)} />;
};
```

## Running the examples

Navigate into `examples` and then into one of the example projects, e.g. `Basic`, then:

```
npm install
npm start
```

And navigate to `http://localhost:8787`

## Documentation

// Todo 🤙

---
_Source: https://npm.io/package/@bitmetro/react-page-editor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
