package
Jodit PRO is awesome and usefully wysiwyg editor with filebrowser
npm install jodit-pro-reactGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
5.8 MB
Includes dependencies.
React wrapper for Jodit PRO
npm install jodit-pro-react --save
# or
yarn add jodit-pro-reactnpm update jodit-react-proimport 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,
}
This package is available under License.