1.0.6 • Published 4 months ago

react-text-editor-rte v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

React Rich Text Editor

A lightweight, easy-to-use rich text editor for React that converts designed text into HTML format.

Features

  • Rich text formatting (bold, italics, underline, etc.)
  • Text alignment (left, right, center, justify)
  • Lists (ordered, unordered)
  • Converts designed text into clean HTML output

Installation

To install the package, use npm:

npm install react-text-editor-rte

or

yarn add react-text-editor-rte

usage

import { useState } from "react";
import RichTextEditor from 'react-text-editor-rte';

function App() {
  const [editorContent, setEditorContent] = useState("");
  const handleEditorChange = (content: any) => {
    setEditorContent(content);
  };
  return (
    <div>
      <RichTextEditor getValue={handleEditorChange} />
    </div>
  );
}

export default App;
1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago