Skip to content

GURINDER2001/Editrex

Repository files navigation

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.

About

A rich text editor npm package for react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published