React extension for summernote
This library support all summernote features.
npm install @easylogic/react-summernote
import 'jquery'
import ReactSummernoteLite from '@easylogic/react-summernote'
import '@easylogic/react-summernote/index.css'
const EditorComponent = () => {
return <ReactSummernoteLite id="sample" onInit={({ note }: any ) => {
note.summernote('pasteHTML', '<span style="font-size:30px">Hello, world for 30px</span>')
}} />
}
export default EditorComponent
npm install
npm run dev
npm install
npm run build
npm install
npm run storybook