Socket
Socket
Sign inDemoInstall

react-bootstrap-editor

Package Overview
Dependencies
122
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-bootstrap-editor

Lightweight Rich Text Editor based on TypeScript, React & Bootstrap


Version published
Weekly downloads
348
increased by27.01%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

React Bootstrap editor

Lightweight Rich Text Editor based on Edkit, React & Bootstrap

NPM Dependency

NPM

Demo

https://idea2app.github.io/Edkit/React/

Tools

https://github.com/idea2app/Edkit#tools

Versions

SemVerbranchstatusES decoratorMobXEdkit
>=2master✅developingstage-3>=6.11v1
>=1 <2master❌deprecatedstage-2>=4 <6.11v1
<1v0.x❌deprecated

Usage

Installation

Shell command
npm install react react-bootstrap-editor
tsconfig.json
{
    "compilerOptions": {
        "target": "ES6",
        "moduleResolution": "Node",
        "useDefineForClassFields": true,
        "experimentalDecorators": false,
        "jsx": "react-jsx"
    }
}
HTML entry
<head>
    <link
        rel="stylesheet"
        href="https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"
    />
    <link
        rel="stylesheet"
        href="https://unpkg.com/bootstrap-icons@1.11.3/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}
            />
        );
    }
}

Keywords

FAQs

Last updated on 25 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc