npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

strapi-plugin-jodit-editor

v1.1.1

Published

A powerful rich text editor plugin for Strapi v5 using the Jodit Editor with advanced formatting capabilities and seamless integration with Strapi's media library.

Readme

Jodit Editor Plugin for Strapi v5

A powerful rich text editor plugin for Strapi v5 using the Jodit Editor and React Jodit Editor. This plugin provides a custom field type that enables content creators to use a full-featured WYSIWYG editor with advanced formatting capabilities and seamless integration with Strapi's media library.

Features

  • Rich Text Formatting: Bold, italic, underline, strikethrough, superscript, subscript
  • Advanced Typography: Font family, font size, text brushing, paragraph styling, class spans
  • Lists & Indentation: Ordered and unordered lists with indent/outdent functionality
  • Text Alignment: Left, center, right, and justify alignment with line height control
  • Links & Media: Easy link insertion, image upload, file handling, and video embedding
  • Tables: Full table creation and editing capabilities
  • Symbols & Special Characters: Symbol insertion and special character support
  • Code Editing: Switch between WYSIWYG and source code view
  • Editor Tools: Copy, cut, paste, format copying, select all functionality
  • History Management: Full undo/redo functionality
  • Enhanced Features: Fullscreen mode, print, preview, find & replace, spellcheck
  • Strapi Integration: Custom strapiMedia button for seamless media library integration
  • WebP Support: Automatic WebP conversion in case you have your own image automatic WebP conversion mechanism
  • Configurable Toolbar: Completely customizable toolbar with button management
  • Custom Fonts: Support for custom font configurations
  • Multilingual: Built-in translation support

Installation

This plugin is already installed and configured in your Strapi application. It's located in src/plugins/jodit-editor.

To build the plugin:

npm install strapi-plugin-jodit-editor

To enable the plugin, add the following configuration to your config/plugins.ts file:

export default ({ env }) => ({
  ...,
  'jodit-editor': {
    enabled: true
  }
});

Custom Development Locally

To develop or customize the plugin locally within your Strapi project, follow these steps:

  1. Clone the plugin repository into your src/plugins directory:
cd src/plugins/
git clone https://github.com/patiparnne/strapi-plugin-jodit-editor.git
cd strapi-plugin-jodit-editor
npm install
npm run build
  1. Reference the local plugin in your config/plugins.ts file:
export default ({ env }) => ({
  ...,
  'jodit-editor': {
   enabled: true,
   resolve: 'src/plugins/strapi-plugin-jodit-editor'
  }
});
  1. Restart your Strapi server to apply changes.

Note: When using a local plugin, Strapi's Media Library integration may have limitations. For full compatibility, it is recommended to install the plugin via node_modules when deploying to production.

Usage

Adding Jodit Editor to Content Types

  1. Go to Content-Type Builder in your Strapi admin panel
  2. Create a new content type
  3. Click Add another field
  4. Select Custom from the field types
  5. Choose Jodit Editor from the available custom fields
  6. Configure the field name and advanced options
  7. Save your content type

Configuration Options

The plugin provides comprehensive configuration options in the Advanced Settings section:

Editor Settings

  • Editor Height (px): Set the height of the editor in pixels (default: 400px)
  • Read Only: Make the editor read-only (default: false)
  • Show Toolbar: Enable or disable the editor toolbar (default: true)

Toolbar Configuration

  • Toolbar Buttons: Comma-separated list of buttons to include in the toolbar
    • Default includes: source, formatting, lists, alignment, media, tables, and utilities
  • Remove Buttons: Comma-separated list of buttons to remove from the toolbar
    • Example: source,fullsize,print to remove specific buttons

Advanced Options

  • Custom Fonts: Define available fonts (one per line)
    • Example: Arial, Helvetica, sans-serif
  • WebP Conversion Settings: Configure automatic WebP image conversion for pasted or dragged media. Since Strapi Media Library returns the original file type, enabling this option helps ensure images are converted to WebP format as needed.
    • Example: image/jpeg,image/png

Default Toolbar Buttons

The plugin includes a comprehensive set of toolbar buttons:

source, bold, italic, underline, strikethrough, superscript, subscript, eraser, 
font, fontsize, brush, paragraph, classSpan, ul, ol, indent, outdent, 
left, center, right, justify, link, unlink, strapiMedia, image, file, video, 
table, hr, symbols, lineHeight, copy, cut, paste, copyformat, selectall, 
undo, redo, fullsize, print, preview, find, spellcheck, about

Strapi Media Library Integration

The plugin includes a special strapiMedia button that provides seamless integration with Strapi's media library, allowing users to:

  • Browse and select existing media files
  • Upload new files directly through the editor
  • Maintain proper authentication and authorization

Technical Details

Plugin Structure

  • Plugin ID: jodit-editor
  • Custom Field Type: richtext
  • Built with: TypeScript, React, Strapi Design System
  • Dependencies: jodit-react v5.2.19

Dependencies

  • Core: jodit-react - React wrapper for Jodit editor
  • UI: @strapi/design-system, @strapi/icons - Strapi's design system
  • Internationalization: react-intl - Translation support

Troubleshoots

If you encounter errors such as undefined 'media-library' or No QueryClient set, use QueryClientProvider to set one, try removing your node_modules directory and reinstalling dependencies:

rm -rf node_modules
npm install

If you encounter issues, feel free to open a GitHub issue. Please note that fixes may be delayed, especially after major Strapi updates, as changes can be frequent. However, you are always welcome to apply local fixes as needed.

Author

Created by Patiparnne Vongchompue

Repository

License

MIT License

Credits

  • Jodit Editor: Built on top of the powerful Jodit Editor by XDSoft
  • React Integration: Uses jodit-react for seamless React integration
  • Strapi Framework: Designed specifically for Strapi v5 with full design system integration