velaris-richtext-editor
Version:
A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React
102 lines (70 loc) • 2.46 kB
Markdown
<p align="center">
<a href="https://github.com/yourusername/your-unique-tiptap-editor" target="_blank" rel="noopener noreferrer">
<img src="https://api.iconify.design/ic:round-wysiwyg.svg?color=%23bbdf58" alt="logo" width='100'/></a>
</p>
<p align="center">
A modern WYSIWYG rich-text editor based on Tiptap using Shadcn components.
</p>
<p align="center">
<a href="https://github.com/yourusername/your-unique-tiptap-editor/blob/main/LICENSE" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License" /></a>
</p>

This rich text editor is a fork of [reactjs-tiptap-editor](https://github.com/hunghg255/reactjs-tiptap-editor) by [hunghg255](https://github.com/hunghg255), modified to suit my specific needs. The original project is licensed under MIT, and this modified version maintains that license with proper attribution.
- Rich text editing with multiple formatting options
- Image, GIF, and attachment support
- Tables, code blocks, and mathematical formulas
- Expandable drawers and embeds
- Export to PDF and Word
- Multiple themes and customizable UI
- And much more!
```bash
npm install your-unique-tiptap-editor
yarn add your-unique-tiptap-editor
pnpm add your-unique-tiptap-editor
```
```jsx
import React from 'react';
import { RichTextEditor } from 'your-unique-tiptap-editor';
import 'your-unique-tiptap-editor/style.css';
function App() {
return (
<div>
<RichTextEditor />
</div>
);
}
export default App;
```
Clone the project
```bash
git clone https://github.com/yourusername/your-unique-tiptap-editor.git
```
Go to the project directory
```bash
cd your-unique-tiptap-editor
```
Install dependencies
```bash
pnpm install
```
Start the Demo server
```bash
npm run build:lib:dev
npm run playground
```
This project is based on the excellent work done by [hunghg255](https://github.com/hunghg255) on the original [reactjs-tiptap-editor](https://github.com/hunghg255/reactjs-tiptap-editor).
Here are some related projects
[](https://tiptap.dev)
[](https://ui.shadcn.com/)
[](https://github.com/Seedsa/echo-editor)
[](./LICENSE)