
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-jodit-editor
Advanced tools
React WYSIWYG Editor Which Uses Jodit & Jodit-React In A Simplified Component
React WYSIWYG Editor Which Uses Jodit & Jodit-React In A Simplified Component. Offers both predefined and customizable features to easily include in your project with little effort. Features Include:
Demo: https://react-jodit-editor.netlify.app/
npm install react-jodit-editor --save
| Prop | Description | Type | Default |
|---|---|---|---|
initialValue | The initial markdown string | string | "" |
darkMode | Changes theme of editor to dark mode | boolean | false |
readOnly | Turns editor into a viewer | boolean | false |
height | Height of the editor, measure in pixels by default | integer | 600 |
customToolbar | Toolbar options on editor | string | "undo,redo,|,bold,italic,underline,strikethrough,|,font,fontsize,brush,|,indent,outdent,|,ul,ol,|,superscript,subscript,eraser,|,table,|,fullsize,print" |
overrides | Can overwrite any prop in the jodit config see https://xdsoft.net/jodit/doc/options/ | object | undefined |
onChange | Change Event For Editor Text | function | |
uploadFiles | Files can be attached by dropping on editor or manually upload from local storage | function | |
files | State for files to keep track of what is dropped and uploaded to editor can be attached by dropping on editor or manual upload | array | undefined |
import HTMLEditor from "react-jodit-editor";
import ReactDOM from "react-dom";
import React, { useState } from "react";
export default function Test() {
let [text, setText] = useState("");
let [files, setFiles] = useState([]);
console.log(files);
console.log(text);
return <HTMLEditor initialValue="Test" onChange={setText} uploadFiles={setFiles} files={files} />;
}
ReactDOM.render(<Test />, document.getElementById("root"));
FAQs
React WYSIWYG Editor Which Uses Jodit & Jodit-React In A Simplified Component
The npm package react-jodit-editor receives a total of 40 weekly downloads. As such, react-jodit-editor popularity was classified as not popular.
We found that react-jodit-editor demonstrated a not healthy version release cadence and project activity because the last version was released 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.