1.0.3 • Published 2 years ago

editrex v1.0.3

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Editrex

Logo

Editrex is a rich text editor component npm package for react.

For installation and usage guide proceed below.

Live demo : Click here

Features

  • Rich text editing
  • Multiple themes
  • Easy Integration

Getting Started

npm install --save editrex react react-dom

or

yarn add editrex react react-dom

Editrex depends on React and React DOM which must also be installed.

Using Editrex

Logo

import React from "react";
import { Editrex } from "editrex";

export default function App() {
 const [editorState, setEditorState] = useState(''); 

  return (
    <div>
      <Editor
        editorState={editorState}
        updateEditorState={setEditorState}
        theme='default' // explore more themes leafy,snowy,tangy & dark.
      />
    </div>
  );
}

Browser Support

IE / Edge IE / Edge

Firefox Firefox

Chrome Chrome

Safari Safari

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.