Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@ npm update jodit-react
## Run demo

```bash
npm install --dev
npm run demo
pnpm install --dev
pnpm run demo
```

and open

```
http://localhost:4000/
```

### Install PnPM

```bash
npm install -g pnpm
```

## Usage

### 1. Require and use Jodit-react component inside your application.
Expand Down Expand Up @@ -65,6 +70,17 @@ const Example = ({ placeholder }) => {
};
```

### Import and use Jodit-react inside your Next.js application

```
import dynamic from 'next/dynamic';

const JoditEditor = dynamic(() => import('jodit-react'), {
ssr: false,
});

```

### Jodit plugins

You can use all Jodit features and write your [own plugin](https://xdsoft.net/jodit/docs/modules/plugin.html) for example.
Expand Down
Loading