# Next.js WYSIWYG Editor — Jodit for Next.js

Load jodit-react on the client with next/dynamic and ssr: false inside a client component. Works with the App Router and the Pages Router without hydration errors.

- Client-only dynamic import avoids "window is not defined"
- Same pattern for App Router and Pages Router
- Keep HTML in state via onBlur, save with a Server Action

## Links

- [React guide](https://xdsoft.net/jodit/integrations/react/)
- [Jodit PRO](https://xdsoft.net/jodit/pro/)

_Full page: https://xdsoft.net/jodit/integrations/nextjs/_
