Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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
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 0 open source maintainers 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.