kigan-react-simple-text-editor
v1.0.1
Published
A simple WYSIWYG text editor built with React
Downloads
3
Readme
Kigan React Simple Text Editor
Kigan React Simple Text Editor is a lightweight and customizable rich text editor component for React applications.
Installation
You can install the component using npm:
npm install kigan-react-simple-text-editor
## Usage
Import the `TextEditor` component and use it in your React application:
```jsx
import React from 'react';
import { TextEditor } from 'kigan-react-simple-text-editor';
const App = () => {
return (
<div>
<h1>My Text Editor</h1>
<TextEditor />
</div>
);
};
export default App;
## Features
- **Bold, italic, and underline:** Easily format text with these basic styling options.
- **Insert links:** Add hyperlinks to your text content.
- **Change font size:** Increase or decrease the font size of selected text.
- **Align text:** Align text to the left, center, right, or justify.