
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
jodit-pro-react
Advanced tools
Jodit PRO is awesome and usefully wysiwyg editor with filebrowser
React wrapper for Jodit PRO
npm install jodit-pro-react --save
# or
yarn add jodit-pro-react
npm update jodit-react-pro
import React, {useState, useRef} from 'react';
import JoditEditor from "jodit-pro-react";
const Example = ({}) => {
const editor = useRef(null)
const [content, setContent] = useState('')
const config = {
readonly: false, // all options from https://xdsoft.net/jodit/docs/,
uploader: {
url: 'https://xdsoft.net/jodit/finder/?action=fileUpload'
},
filebrowser: {
ajax: {
url: 'https://xdsoft.net/jodit/finder/'
},
height: 580,
}
}
return (
<JoditEditor
ref={editor}
value={content}
config={config}
tabIndex={1} // tabIndex of textarea
onBlur={newContent => setContent(newContent)} // preferred to use only this option to update the content for performance reasons
onChange={newContent => {}}
/>
);
}
This package is available under License.
FAQs
Jodit PRO is awesome and usefully wysiwyg editor with filebrowser
The npm package jodit-pro-react receives a total of 2,746 weekly downloads. As such, jodit-pro-react popularity was classified as popular.
We found that jodit-pro-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.