React Bootstrap editor
Lightweight Rich Text Editor based on Edkit, React & Bootstrap


Demo
https://idea2app.github.io/React-MobX-Bootstrap-ts/#/component
Tools
https://github.com/idea2app/Edkit#tools
Usage
Installation
Shell command
npm install react react-bootstrap-editor
HTML entry
<head>
<link
rel="stylesheet"
href="https://unpkg.com/bootstrap@5.3.0/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/bootstrap-icons@1.10.4/font/bootstrap-icons.css"
/>
</head>
Initialization
import { PureComponent } from 'react';
import { Editor } from 'react-bootstrap-editor';
export class PostEdit extends PureComponent {
render() {
return (
<Editor
name="content"
defaultValue="<p>test</p>"
onChange={console.log}
/>
);
}
}