Skip to content

About

A simple WYSIWYG drag-n-drop page editor

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

@bitmetro/react-page-editor

react page editor

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.

Installation

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

Usage

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 🤙

About

A simple WYSIWYG drag-n-drop page editor

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages